示例#1
0
						</th>
						<th style="text-align:center">
							Art
						</th>
						<th>
							Analysis
						</th>
						<th>
							Status
						</th>
					</tr>
				</thead>
				<tbody>
<?php 
$i = 0;
foreach (Sinjector::Results() as $r) {
    $i++;
    ?>

					<tr>
						<td>
							<?php 
    echo $i;
    ?>
						</td>
						<td>
							<a href="?report=<?php 
    echo $r["md5"];
    ?>
"><?php 
    echo $r["md5"];
示例#2
0
<?php

$res = Sinjector::fetch($vars["md5"], "very_compact", $vars["pid"]);
?>
<a name=res></a><pre><?php 
echo $res;
?>
</pre>

示例#3
0
		<div class="modal-content">
			<div class="modal-header">
				 <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
				<h4 class="modal-title" id="myModalLabel">
					Search for handle <?php 
    echo $handle;
    ?>
				</h4>
			</div>
			<div class="modal-body">
<?php 
    print "<pre>";
    if ($vars["mode"] == "set") {
        print Sinjector::dump_registry($vars["md5"], $handle, $pid);
    } else {
        print Sinjector::dump_registry_queries($vars["md5"], $handle, $pid);
    }
    print "</pre>";
    ?>
			</div>
			<div class="modal-footer">
				 <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
			</div>
		</div>
		
	</div>
</div>
<script>
$("#modal").modal();
</script>
<?php 
示例#4
0
						<th>
							Name
						</th>
						<th>
							Procs
						</th>
						<th>
							Handle
						</th>
					</tr>
				</thead>
				<tbody>
<?php 
$i = 0;
foreach ($vars["libraries"] as $r) {
    $proc_count = count(Sinjector::procedures($vars["md5"], $r["handle"]));
    //if(!$proc_count && intval($r["handle"])) continue; //skip libraries with no loaded procs
    $i++;
    #TODO: add this to sinjector class
    $class = "";
    if (!intval($r["handle"])) {
        $class = " class=warning title='This library was not found on the guest system'";
    }
    if (!$proc_count && intval($r["handle"])) {
        $class = " class=active title='Library found but no procedures were dynamically loaded'";
    }
    ?>
					<tr<?php 
    echo $class;
    ?>
>
示例#5
0
            echo $img;
            ?>
" class="img-thumbnail"></a>
						</div>
						<div class="modal-footer">
							 <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
						</div>
					</div>
					
				</div>
				
			</div>
			
<?php 
        }
    } else {
        print "<pre>No screenshots found...</pre>";
    }
} else {
    ?>
<pre>
<?php 
    echo Sinjector::fetch($md5, $op);
    ?>
</pre>
<?php 
}
?>
</p>

示例#6
0
<?php

$hooks = Sinjector::hooks();
// tr class= active, success, warning, danger
?>
	<div class="row clearfix">
		<div class="col-md-12 column">
			<table class="table table-bordered">
				<thead>
					<tr>
						<th>
							#
						</th>
						<th>
							Function
						</th>
						<th>
							Address
						</th>
						<th>
							Library
						</th>
					</tr>
				</thead>
				<tbody>
<?php 
$i = 0;
foreach ($vars["imports"] as $r) {
    $i++;
    $msg = "";
    if (in_array($r["function"], $hooks)) {
示例#7
0
if (!file_exists("uploads/{$md5}.bin")) {
    print "ERROR - The sample '" . htmlentities($md5) . "' was not found";
    return;
}
?>
Analyzing sample <a href="?report=<?php 
echo $md5;
?>
"><?php 
echo $md5;
?>
</a> (it will run during 1 minute, please wait...)
</font>
<?php 
$sample = getcwd() . "/uploads/{$md5}.bin";
$cmd = Sinjector::analyze($sample);
while (@ob_end_flush()) {
}
// end all output buffers if any
$proc = popen($cmd, 'r');
echo '<pre>';
while (!feof($proc)) {
    $res = fread($proc, 128);
    $res = preg_replace("/\\[1m/", "<b>", $res);
    $res = preg_replace("/\\[0m/", "</b>", $res);
    echo $res;
    @flush();
}
echo '</pre>';
exit;
?>
示例#8
0
$id = Common::getInteger("id");
$binary = "uploads/{$md5}.bin";
$html_res_offsets = Pefile::call("res_offsets", $binary);
$resources = Binary::resources($binary);
$sections = Binary::sections($binary);
$images = Sinjector::fetch($md5, "screenshots");
$processes = Sinjector::processes($md5);
$libraries = Sinjector::libraries($md5);
$files = Sinjector::files($md5);
$presources = Mono::presources($binary);
$packets = Tcpdump::packets($md5);
$imports = Binary::imports($binary);
#TODO: cache registry
if ($action == "sandbox/registry" || $action == "sandbox/registry_queries") {
    $registry = Sinjector::registry($md5);
    $registry_queries = Sinjector::registry_queries($md5);
}
//if($action=="") $action="art";
?>
	<div class="row clearfix">
		<div class="col-md-12 column">
			<div class="row clearfix">
				<div class="col-md-2 column">
					<div class="panel panel-primary">
						<div class="panel-heading">
							<h3 class="panel-title">
								binary
							</h3>
						</div>
						<div class="panel-body">
							<?php