示例#1
0
    print Templates::Load("templates/sandbox/registry.php", array("registry" => $registry_queries, "md5" => $md5, "mode" => "query"));
}
if ($action == "sandbox/network") {
    print Templates::Load("templates/sandbox/network.php", array("packets" => $packets, "md5" => $md5));
}
if (file_exists($binary)) {
    if ($action == "details" || $action == "") {
        print Templates::Load("templates/misc/info.php", array("md5" => $md5, "binary" => $binary));
        print Templates::Load("templates/misc/info_version.php", array("md5" => $md5, "binary" => $binary));
    }
    if ($action == "dump_sec") {
        print Templates::Load("templates/misc/sections.php", array("md5" => $md5, "binary" => $binary, "sections" => $sections));
        if ($id > 0) {
            print Templates::Load("templates/misc/section_dump.php", array(""));
        }
        print Templates::Load("templates/art/draw_sections.php", array("version" => Binary::version($binary), "magic" => Binary::magic($binary), "resources" => $resources, "sections" => $sections, "md5" => $md5));
    }
    if ($action == "dump_res") {
        print Templates::Load("templates/misc/resources.php", array("resources" => $resources));
        print Templates::Load("templates/art/draw_resources.php", array("resources" => $resources, "filesize" => Binary::filesize($binary, false), "md5" => $md5, "res_size" => Binary::resourcesSize($binary), "res_comp" => Binary::resourcesCompression($binary)));
    }
    if ($action == "imports") {
        print Templates::Load("templates/misc/imports.php", array("imports" => $imports));
    }
    if ($action == "strings") {
        print Templates::Load("templates/misc/strings.php", array("binary" => $binary));
    }
    if ($action == "graph") {
        print Templates::Load("templates/misc/graph.php", array("binary" => $binary, "md5" => $md5));
    }
    if ($action == "art") {
示例#2
0
<?php

$version = Binary::version($vars["binary"]);
if (!count($version)) {
    return;
}
?>
	<div class="row clearfix">
		<div class="col-md-12 column">
			<table class="table table-bordered">
				<thead>
					<?php 
foreach ($version as $v) {
    ?>
					<tr>
						<td width=20% class="active"><?php 
    echo $v["name"];
    ?>
</td>
						<td><?php 
    echo $v["value"];
    ?>
</td>
					</tr>
					<?php 
}
?>
				</tbody>
			</table>
		</div>
	</div>