Quote:
Originally Posted by fed.linuxgossip
Please advise a script to get rid of the following code which is infected in a large number of files ( in particular php and html files )
Why fix the infected files? Don't you keep a sane copy of your static pages and scripts offline at a safe place?
Your CGI/PHP/etc. ought to be implemented in such a way to have converted '<' and '>' received to '<' and '>' before generating the output. Injection will not have been successful if this check exists.