[TriLUG] OT: Disinfecting a Club's Website

Alan Porter porter at trilug.org
Mon Aug 19 21:11:14 EDT 2013


I'm not going to address the intrusion... but...

One thing I like to do on web sites like this is use "git" to track
(and revert) changes.

Just "git init" and "git add *" and "git commit -m 'initial copy'" to
get started.  Then when you think your files have been hacked,
you can "git diff" to see, and "git checkout *" to revert back to
the good copies.

If you want to, you can clone that repo to somewhere safe, for a
little added security.

Even if you're not fighting some defacing bot, git is a nice tool
to tracking what changed on a web site that has a lot of text
files running it.

Alan




More information about the TriLUG mailing list