Skip to content
Script for get the file list and allow sort it it by date of last modification, store files map and compare this map with previous stored map.
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.

PHP script to get list of files and file comparison

PHP script to get the file list on the server and allow sort it by date of last modification, store the files map and compare this map with previously stored map. Useful to find changed/hacked files if you are not allowed use any version control system.


  • scan files using filter (sets in script options)
  • store result in to the
  • comparison with previously saved a map
  • sorting by path, filename, extension, size, last modification, last inode change, permissions, file state


Put script in to the server root folder or in to subfolder(then will be need chage $path option). Change the script options if need (e.g. current path, exclude filter, default map name). Run it! (open in the browser) As result you will get the full file list table and the stored file map. Script will make the new map file after each click on Scan again, that allow you compare the couple maps in future.


Do not leave this script and the .map files with free access on the server! Use .htaccess for access control.



You can’t perform that action at this time.