Location: PHPKode > scripts > Security System > security-system/example.php
<?
require 'security.class.php';

$start = microtime(true);

$dir = dirname ( __FILE__ );
$security = new Security ($dir); // Directory for check.
$security-> mail_alert ('hide@address.com'); // Optional.
$security-> search ('iframe', 'base64_decode', 'base64_encode', 'eval'); // What to search. Optional: if it not called, script will check - "executable" or not.
$risky_files = $security-> scan (); // Start seach. Return array.
var_dump ($risky_files);

echo '<br>Generation time: '.(microtime(true)-$start);
Return current item: Security System