Recommend this page to a friend! |
Download .zip |
Info | Documentation | View files (3) | Download .zip | Reputation | Support forum (1) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2015-05-02 (1 year ago) | Not enough user ratings | Total: 206 | All time: 7,779 This week: 881 |
Version | License | PHP version | Categories | |||
file-change-scanner 0.1 | BSD License | 4.0 | Files and Folders, Security |
Description | Author | ||||||||
This class can scan directories to detect modified files. |
|
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! |
Files |
File | Role | Description |
---|---|---|
create_db.sql | Data | Script to create mysql db and table |
readme.txt | Doc. | Readme file |
scanner.php | Class | Main class |
file-change-scanner-2015-05-02.zip 2KB | |
file-change-scanner-2015-05-02.tar.gz 2KB | |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.