[thelist] Client site hacked - need help understanding inserted PHP code

Anthony Baratta anthony at baratta.com
Wed Mar 25 17:12:53 CDT 2009

CosmicFawn wrote:
> I have a client who's website was hacked into in the last few days, I 
> know for sure that someone was in there because they've added some php 
> code to my dbinfo file.  I was wondering if someone out there with more 
> php knowledge than I have can tell me what this code is designed to do.

Make sure all your PHP files are read-only for the web server and they 
won't be able to add code to your files.

Anthony Baratta

"At all times sincere friends of freedom have been rare, and its 
triumphs have been due to minorities." ---Lord Acton

More information about the thelist mailing list