PHP File Integrity Checker is a Real-Time Monitoring for PHP source code

PHP File Integrity Checker is a Real-Time Monitoring for PHP source code. Basically it computes the sha hash of all requested files. Your PC queries periodically the script and alerts you if the returned hash changes.

image

Ask yourself how you might address the following circumstances when managing a website:

* A file is unintentionally added, modified or deleted
* A file is maliciously added, modified or deleted
* A file becomes corrupted

More importantly, would you even know if one of these circumstances occurred? If your answer is no, then keep reading. In this guide I will demonstrate how to use PHP File Integrity Checker to monitor the integrity of your files.

image

The best way to determine whether or not a file has been altered is to hash its contents. PHP File Integrity Checker is written in PHP source code, after you buy it, you will get the full source code, then you can deploy it to your server to monitor all folders in your server easily.

The first, you may buy its source code from this web page,

https://veryutils.com/php-file-integrity-checker

after you buy it, you will get a source code package, please upload this source code package to your server, and unzip it to a folder, you will get a folder with following files,

image

Now, you can run following command lines to add all monitored folders to the database, PHP File Integrity Checker using a SQLite database, so you needn't setup a MySQL database first.

php file-integrity-checker.php listfiles=1 folder=/mywebsite.com/admin
php file-integrity-checker.php listfiles=1 folder=/mywebsite.com/app
php file-integrity-checker.php listfiles=1 folder=/mywebsite.com/blog
php file-integrity-checker.php listfiles=1 folder=/mywebsite.com/catalog
php file-integrity-checker.php listfiles=1 folder=/mywebsite.com/community
php file-integrity-checker.php listfiles=1 folder=/mywebsite.com/demo
php file-integrity-checker.php listfiles=1 folder=/mywebsite.com/dev
php file-integrity-checker.php listfiles=1 folder=/mywebsite.com/downloads
php file-integrity-checker.php listfiles=1 folder=/mywebsite.com/images
php file-integrity-checker.php listfiles=1 folder=/mywebsite.com/storage
php file-integrity-checker.php listfiles=1 folder=/mywebsite.com/system
php file-integrity-checker.php listfiles=1 folder=/mywebsite.com/vqmod

You can run same command line more times to add more folders that you want to monitor, file-integrity-checker.php will calculate the hash values for all files in this folder and its sub-folders recursively.

If some files have been modified in a folder, for example, you changed a folder in "/mywebsite.com/dev" folder, you may simple run following command line to update the hash values for this folder again,

php file-integrity-checker.php listfiles=1 folder=/mywebsite.com/dev

When you need to verify the files' Integrity, you may run following command line,

php file-integrity-checker.php verifyfiles=1

file-integrity-checker.php will compare the hash values for all monitored files automatically, if it detects the change in a file, it will print out the information to console.

You can also run following command line to send the alert to an email address,

php file-integrity-checker.php verifyfiles=1 email=support@veryutils.com

You can call file-integrity-checker.php from Cron Service, then you can monitor all files on your server periodically, for example, per hour or per day, if some files will be changed, you will able to receive the alert email immediately.

PHP File Integrity Checker is a simple but useful PHP Script Code to protect the files on your server, you may also modify it to best meet your requirements, if you need it, you may buy it from following web page directly,

https://veryutils.com/php-file-integrity-checker

What Are Cron Jobs?
Cron is a scheduler which is time-dependent. This feature is available in Mac, FreeBSD and Linux as well. The scheduled activities which are performed through them are referred to as cron jobs.

No votes yet.
Please wait...

Related Posts

Leave a Reply

Your email address will not be published.