Site hack fixing
-
I flagged this for version 3.3.1 but it doesn’t really matter.
Some time back, I was tasked with helping out multiple sites that had been attacked, and had the virus/scam code attached into multiple php and html files. Several servers were involved, and I was limited to either ftp or cpanel access but no way to get in via putty or other tools, where I could use nice things like GREP to do massive searches.
It was frustrating, needless to say, and I was again limited to very time consuming tasks. Ultimately, I was able to download site “backups” and they came into my Windows system. As we know, Windows is pretty crappy at searching files for text, so I wrote a simple program using Visual Studio 2005, in VB.net.
The program allows for selecting a starting directory, along with selecting multiple file types and multiple search ‘texts’, and you can create optional reports.
If files are found, the names and locations are displayed, and you can directly select those files to edit, using your choice of a defined editor.
The program is small of course, and I would like to offer up to the community both the program and the source code for it (to prove it has nothing extra hidden in it, and the stand alone exe for those who can’t compile it), for free.
The exe is around 70k in size, and the full source for the project is around 130k.
The problem is of course, I don’t know how to make this available.
The topic ‘Site hack fixing’ is closed to new replies.