Code: Select all
cd /home/someuser/web/domain.com/public_html/
find -name "*.php" -type f -printf '%T+\t%s\t%u\t\t%p\n' | sort -n
In that case, you can sort files by the 'last modification' attribute that can not be faked.
Code: Select all
find -name "*.php" -type f -printf '%C+\t%s\t%u\t\t%p\n' | sort -n
If you suspect that .js files are modified, then run:
Code: Select all
find -name "*.js" -type f -printf '%T+\t%s\t%u\t\t%p\n' | sort -n
Code: Select all
find -name "*.js" -type f -printf '%C+\t%s\t%u\t\t%p\n' | sort -n