PHP Classes

Tor PHP File Checker: Create and check snapshots of project files

Recommend this page to a friend!
  Info   View files Documentation   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 85 All time: 9,987 This week: 182Up
Version License PHP version Categories
tor-file-checker 1.0GNU General Publi...5.6PHP 5, Files and Folders, Systems adm..., L..., S...
Description 

Author

This class can create and check snapshots of project files.

It can display a form to let the user choose the directory to be scanned for files to take a snapshot.

The class can take a snapshot of the files in the selected directory by storing the names, modification dates, sizes, owner and permissions the files it finds.

It can also take a previously taken snapshop and compare it with the current state of the files in the same directory, so it can detect normal or malicious file changes.

Picture of Max Stemplevski
  Performance   Level  
Name: Max Stemplevski <contact>
Classes: 12 packages by
Country: Belarus Belarus
Age: 35
All time rank: 19438 in Belarus Belarus
Week rank: 312 Up2 in Belarus Belarus Up
Innovation award
Innovation award
Nominee: 5x

Documentation

TorFileChecker

TorFileChecker - class for creating/checking the actual snapshot of project structure for developers.

>If your project is completed or in the final stage, you can easily take a snapshot of the project file structure and if a file will be changed (hacked) then you can always find where, when and what was changed. This class will always be able to help understand bottlenecks and quickly identify malicious files.

Create project snapshot.

Steps:

  1. Upload torfilechecker.php into your project folder.
  2. Open torfilechecker.php in browser
  3. Choose project folder in selectlist on [New snapshot] section
  4. Write snapshot name (optional) [ex: file_snapshot_NAME_2016-12-06.json]
  5. Click on "Generate new snapshot" button :clap:

Default folder for snapshots on server: home_folder/tor_snapshots (Also, you can download snapshot file and save local version)

Compare Original vs Current project structure

Steps:

  1. Upload torfilechecker.php into your project folder.
  2. Open torfilechecker.php in browser
  3. Choose a latest snapshot in selectlist on [Compare snapshot] section
  4. Choose project folder in selectlist on [Compare snapshot] section
  5. Click on "Compare" button

So, if somebody changed your project files or folders then you will see in final comparing report.

Happy codding.

Actual Ver: 1.0. :+1:


Screenshots  
  • compare_page
  • main_page
  • snapshot_page
  Files folder image Files  
File Role Description
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation
Plain text file torfilechecker.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 50%
Total:85
This week:0
All time:9,987
This week:182Up