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; ?>