Search & Replace Iframe Hacked Files On Webserver
Join the DZone community and get the full member experience.Join For Free
// If you've suffered iframe injections in your index.html and index.php files then this grep/sed command will come in handy for clearing the majority of them out. // Please be careful and test first with just the grep command to ensure you don't clear out anything you need. // Does NOT backup files.
grep -lr -e '
Opinions expressed by DZone contributors are their own.