PHP Classes

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

Recommend this page to a friend!
  Info   Documentation   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 58%Total: 87 All time: 9,999 This week: 131Up
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: 36
All time rank: 19418 in Belarus Belarus
Week rank: 41 Up1 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 (3)  
  • compare_page
  • main_page
  • snapshot_page
  Files folder image Files (6)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 50%
Total:87
This week:0
All time:9,999
This week:131Up
 User Ratings  
 
 All time
Utility:83%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:83%StarStarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:1522