<?
require 'security.class.php';
$start = microtime(true);
$dir = dirname ( __FILE__ );
$security = new Security ($dir);
$security-> mail_alert ('admin@admin.ru'); // Optional.
$security-> search ('iframe', 'base64_decode');
$security-> search ('base64_encode', 'eval');
$risky_files = $security-> scan ();
var_dump ($risky_files);
echo '<br>Generation time: '.(microtime(true)-$start);
|