var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Danger code in my website pages
I have a starnge code in my websites pages , I found it yesterday and i went to clean the pages .
Now after about 12 hours it came back again , It is not possible to moniter
like this problem and clean a huge number of pages .
I dont know how this happened , I need someone to help me to know the source of the problem from where it comes .
It is appears as a torjan for the users .
I attached a pic shows a sample of that code .
Please anybody can help me its urgent to have the solution .
check your folder and files for correct permissions, also change your ftp passwords.
can you please explain to me why i should do that ?
its not easy to check permissions, they are about 250,000 pages and more than 500 folders
From shell (assuming Cpanel):
Open file.txt once it completes.
find /home/*/public_html/ -perm 0777 >file.txt
If it's just one account (launch command from public_html folder of the account):
find . -perm 0777 >file.txt
Having problems, or maybe questions about WHT? Head over to the help desk!
That look's like the Gumblar exploit which overwrite's all the html file's simply remove them and contact your hosting provider and make sure you scan all your file's. It will keep happening until you remove the file it's located in your image's folder check it out you will see a .php file in there or a weird looking image remove it and your all good. Please tell me if it worked. Good luck.
In addition, unmaskparasites.com has a great scan tool.
Use softwares like clamd to find and repair the trojans, but I would always suggest to restore the web contents from a recent backup if possible.
After restoring the files, harden your server (SSH,FTP etc..). You will see a lot of WHT related to sever hardening.
By ZaxiHosting in forum Design Requests
Last Post: 06-22-2008, 11:42 PM
By jt2377 in forum Programming Discussion
Last Post: 04-02-2007, 04:06 AM
By adorno in forum Web Hosting Lounge
Last Post: 03-29-2006, 03:06 PM
By _goliath2 in forum Hosting Security and Technology
Last Post: 12-22-2004, 11:13 AM
By wmac in forum Hosting Security and Technology
Last Post: 09-05-2002, 03:32 AM