Please Help: Site was hacked, can't get back online
Posted: Thu Mar 26, 2009 9:22 pm
Hello-
I am running CMSMS 1.2 using PHP 4.4.9 and MySQL 5.0.67 all running on Linux. More info: http://areteproducts.com/check.php
My server was hacked and someone added a bunch of code to several of the .php files that caused multiple sites to stop working. This affected 20+ sites including other applications such as Wordpress, Zen Photo and others. I removed the CRAP code on all the files affected, then replaced the bad files with the good ones on the server via FTP. That fixed all of the Wordpress and Zen Photo sites, but I can't get my CMSMS sites back online with the same solution.
One of the CMSMS sites affected is: www.areteproducts.com
There were 10 files affected by the hack:
adodb.functions.php
adodb.inc.php
config.php
config.functions.php
content.functions.php
index.php
misc.functions.php
module.functions.php
page.functions.php
translation.functions.php
When infected, they each gave this fatal error:
Fatal error: Call to undefined function: get_encoding() in /homepages/29/d116508282/htdocs/advanced/index.php on line 1
I have removed all of the bad code on these files and uploaded the clean versions, but all I get is a blank screen and I can't figure out why. I thought perhaps the hacker possibly deleted a file from the server that I just don't see. I'm not sure. Please help me get the site back online!
I am happy to send someone the files or FTP access to assist.
Thank you in advance for your help!
I don't think it's necessary but here is the CRAP code that was placed on line 1 of my php files by the hacker:
No need to show the code...
I am running CMSMS 1.2 using PHP 4.4.9 and MySQL 5.0.67 all running on Linux. More info: http://areteproducts.com/check.php
My server was hacked and someone added a bunch of code to several of the .php files that caused multiple sites to stop working. This affected 20+ sites including other applications such as Wordpress, Zen Photo and others. I removed the CRAP code on all the files affected, then replaced the bad files with the good ones on the server via FTP. That fixed all of the Wordpress and Zen Photo sites, but I can't get my CMSMS sites back online with the same solution.
One of the CMSMS sites affected is: www.areteproducts.com
There were 10 files affected by the hack:
adodb.functions.php
adodb.inc.php
config.php
config.functions.php
content.functions.php
index.php
misc.functions.php
module.functions.php
page.functions.php
translation.functions.php
When infected, they each gave this fatal error:
Fatal error: Call to undefined function: get_encoding() in /homepages/29/d116508282/htdocs/advanced/index.php on line 1
I have removed all of the bad code on these files and uploaded the clean versions, but all I get is a blank screen and I can't figure out why. I thought perhaps the hacker possibly deleted a file from the server that I just don't see. I'm not sure. Please help me get the site back online!
I am happy to send someone the files or FTP access to assist.
Thank you in advance for your help!
I don't think it's necessary but here is the CRAP code that was placed on line 1 of my php files by the hacker:
No need to show the code...