PHP Classes

File: readme.txt

Recommend this page to a friend!
  Classes of Dmitry Stroganov   PHP File Change Scanner   readme.txt   Download  
File: readme.txt
Role: Documentation
Content type: text/plain
Description: Readme file
Class: PHP File Change Scanner
Scan directories to detect modified files
Author: By
Last change:
Date: 9 years ago
Size: 930 bytes
 

Contents

Class file image Download
File scanner. File scanner class is created to scan modified files and notify user about the modifications. If you are not sure about CMS/your sites protection against the hackers you can get notifications about file modifications and decide if these modifications are ok or your site is hacked and it is time to change CMS/fix the site code. It is a simple alternative to OSSEC. How to use: 1. Create mysql database and table using create_db.sql script; 2. Define paths that you wish to be scanned in class constructor; 3. Define exceptions in class constructor; 4. Define email address to send notifications to in class constructor; 5. Define timezone in class constructor; 6. Define mysql information in class constructor; 7. Put the script into a directory and protect the directory with .htaccess if it is available from the web; 8. Put scanner.php on cron with desired time period; 9. Enjoy the reports!