Skip to main content

Infected with a virus in a bunch of sites. Want to find a multi-line string and remove it from hundreds of files.

Comments

3 comments

  • cPanelLauren
    If these are WordPress core files, this may be a lot of effort put into something that can be resolved more efficiently, there are plugins that will replace these with known good copies of the file. Otherwise to find/replace a string you could do something like what's listed here How can I replace a string in a file(s)?
    0
  • Parachutech
    I restored the infected accounts from backup before the infection. That was easier than trying to clean it up.
    0
  • rackaid
    Did ImmunifyAV detect the issue? Their pro version can auto-clean some files.
    0

Please sign in to leave a comment.