How do i Mass replace code in PHP files across my website?

Daniel

New member
I was recently hacked and a very obfuscated piece of code was added to the end of a lot of the PHP files on my site.

Its doing nothing but causing parsing errors, so i need a script or a method that can Delete the JavaScript that was inserted into the ~1000 PHP files in several directories on my site.

TL;DR-----I need some kind of find and replace script that will delete a piece of code from all the php files on my website
 
Back
Top