The sed challenge - trying to clean up code injection
this is what I'm trying for two days now.
The code below was injected into about 300 .js-files on my website. I got a list of infected files, I got a linux box, but Im lacking the skill. All the internet couldn't be of any help so far.
My script reads the file names form a list and applies the sed-command. So the main challenge as I see it is to escape the single and double quotes. I failed so far to make a sed statement work.
;document.write('<iframe width="50" height="50" style="width:100px;height:100px;position:absolute;left:-100px;top:0;" src="a-url-that-i can-not-post"></iframe>');
Please help, I'm really desperate and reall don't want to do it all manually. Thank you all in advance!