Security script with md5sum

Hi, after various searches on the net I wrote this:

find . -type f | xargs md5sum > report_today.txt

wich write on report_today a list of my file with their md5sum.
In theory if someone hack my site and change something, when I restart this script I could then check the 2 reports to see if something changed.
The only problem I see is that this script was made by me :slight_smile: …maybe someone had some other better script?

Btw…another problem is how to compare 2 files…maybe diff will be enough…maybe…

Cupons:[color=#0000CC]MAO_HALFPRICE[/color] : pay only half of the price (L1 plans only) MAO97 get 97$ back