NYCPHP Meetup

NYPHP.org

[nycphp-talk] Determine if your site has been defaced

Tim Lieberman tim_lists at o2group.com
Wed Oct 8 16:43:03 EDT 2008


Pretty trivial to write one if you can come up with a decent  
definition for "defaced".

For what's supposed to be a static page, you could use "Changed" as  
the definition for defaced.

If the content changes, you could test for some string that should  
always be there.

Either one can probably be tested in just a handful of lines of PHP.

-Tim

On Oct 8, 2008, at 2:36 PM, Jeff Siegel wrote:

> Anyone know of a PHP script that can be run from a cron and which  
> can check whether a website has been defaced?
>
> Thanks,
>
> Jeff
>
>
>
>
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php




More information about the talk mailing list