Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ewg  >  Security System  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example
Class: Security System
Search for files that may present security risks
Author: By
Last change: Update
Date: 5 years ago
Size: 402 bytes
 

Contents

Class file image Download
<?
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);