nerdykit
04-16-2009, 11:20 AM
My site has twice been hacked by the same attacker. He changes my index.html file among other things and uses a sendmail bomber to force sending out spam, I suspect.
I have a good idea of what goes on when he's in there but my site is not a high traffic site and I'd like to be notified whenever a change to a particular file occurs (because it would very likely be him doing it).
I imagine that this is a job for cron running a cgi or pearl script. Programming in either of these environments is not in the cards for me, can anyone direct me to a possible script that will monitor a file and if it's mod date changes, the script will email me a notification.
Thanks
I have a good idea of what goes on when he's in there but my site is not a high traffic site and I'd like to be notified whenever a change to a particular file occurs (because it would very likely be him doing it).
I imagine that this is a job for cron running a cgi or pearl script. Programming in either of these environments is not in the cards for me, can anyone direct me to a possible script that will monitor a file and if it's mod date changes, the script will email me a notification.
Thanks