Php Script That Check For A Word In A Page

This should be really simple and straightforward.

Intro: I have a couple of websites. Some of them have been hacked and I only noticed it 3 days after the hacking occurs.

Project: I want a script that will look for the word “hack” in a website.

Basically i need a simple interface where i can add website in the script database and everyday the script should run (with a cron job i guess) and check if the word “hack” is on a webpage. Very often when a hack occurs the website will display something like “hacked by blablabla” so that’s a way to get a notification.
Then the script should send an email and tell me if he found a website with the word “hack” in it.

I hope this is clear.

The script should allow to:
-add a website
-add an email

Leave a Reply

Your email address will not be published. Required fields are marked *