I am not that much into programming , but somebody is hacking to my site and injecting some kind of iframes ... it happened to another site , but that wasn't that important for me, but now it has happened to one of my major site not sure what is going on. Need some immediate help I see this code This is the infected index home page file now This was the original index when I try to replace it agin gives some error it happened a day before , when I replace the index from backup it worked , but today its not working, need some help immediatly .. thanks
There must be some vulnerability in ur script. Please post the other files for us here. May be I can have a look and see what the problem is...
Change all user and SSH password on your server. This isn't an injection, somebody has write access to your server which is really bad. The iframe is the least of your problem. Your entire server could be compromised. You should investigate beyond the homepage. Also, are you on a shared server? It's possible another account on the server was compromised, and there isn't proper internal protection.
i think "lmao" is right, you may have virus in your ftp client, some time ftp clients put additional codes into pages if they are using as illegal copy or virus etc .. So scan your pc first.