I have published on Github script to analyze the site files. Can be useful to find changed/hacked files if you are not allowed use any version control system.
Script will scan all files depend from the filter option and store result in to the files.map, that allow you compare the couple maps in future for find changed files. Aslo do sorting by path, filename, extension, size, last modification, last inode change, permissions, file state.
Download here filelist-php
So, how to use it:
- Put script in to the server
- 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 file map
- Script will make the new map file after each click on Scan again, that allow you compare the couple maps in future
Warning! Do not leave this script and the .map files with free access on the server! Use .htaccess for access control.