0

My website is infected with iframe injection and some javascript virus.

There is some JS code which is present in all the files.

Is there any way that i can paste that JS code in a text file and make shell script which matches that pattern and rmoves from the pages

I have vps server centos with cpanel whm

1 Answers1

1

If the site is infected it would be safer to replace everything from a clean backup - and that includes any databases you might have.

While it probably is possible there's a good chance you'll miss something and not have a fully clean site.

You should also try and work out where the infection came from - probably an insecure ftp account - and close that loophole before proceeding.

ChrisF
  • 1,891