Reinstalling after attack from hackers
Posted: Sat Mar 06, 2010 8:39 pm
Hello
I've got to try and 'repair' a site after it has had malicious code uploaded to it by some hackers. They have downloaded the site, added some malicious code to it and then reuploaded. The site is a CMSmadesimple site and some of the files that have been identified as containing the malicious code are some of the CMSmadesimple ones. I dont quite understand it as none of the templates seem to have the malicious code in them so I don't see where the malicious code can make its way into the pages that people view.
Anyway, google have flagged it as a dangerous site so I need to get it sorted ASAP.
I was wondering, as the content of the site is in the mySQL database, can I just delete everything in the site directory with my FTP client so all the files with the malicious code have gone, then reinstall CMSmadesimple connecting it to the existing database? The database is fine and was not accessed during the attack.
I have a feeling it wont be that easy and that I would lose uploaded files, images, PDFs etc? I presume reinstalling, and selecting the existing database wont write over the existing database?
It is an old version of CMSmadesimple so needs updating anyway
Thanks very muchÂ
T
I've got to try and 'repair' a site after it has had malicious code uploaded to it by some hackers. They have downloaded the site, added some malicious code to it and then reuploaded. The site is a CMSmadesimple site and some of the files that have been identified as containing the malicious code are some of the CMSmadesimple ones. I dont quite understand it as none of the templates seem to have the malicious code in them so I don't see where the malicious code can make its way into the pages that people view.
Anyway, google have flagged it as a dangerous site so I need to get it sorted ASAP.
I was wondering, as the content of the site is in the mySQL database, can I just delete everything in the site directory with my FTP client so all the files with the malicious code have gone, then reinstall CMSmadesimple connecting it to the existing database? The database is fine and was not accessed during the attack.
I have a feeling it wont be that easy and that I would lose uploaded files, images, PDFs etc? I presume reinstalling, and selecting the existing database wont write over the existing database?
It is an old version of CMSmadesimple so needs updating anyway
Thanks very muchÂ

T