Over a million developers have joined DZone.

Search & Replace Iframe Hacked Files On Webserver

// 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 '