Mass modify all php files on my server

Posted by anslume on Super User See other posts from Super User or by anslume
Published on 2012-11-18T16:54:49Z Indexed on 2012/11/18 17:06 UTC
Read the original article Hit count: 170

Filed under:
|

I would like to delete a php code on all my php files on my debian server. indeed I would like to get rid of a line:

eval(base64_decode("DQplcnJvcl9yZXBvcnR"));

It's present in many of my phpfiles. That's why I would like to find a script which is going to look it up in all my php files and replace itwith nothing? Do you have any idea how i could do that ? I know how to do it on windows with some software (notepad++ is very useful) but no idea how can I do that in a command line through ssh

Thanks for your answer,

Ans

© Super User or respective owner

Related posts about ssh

Related posts about php