Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Search & Replace Iframe Hacked Files On Webserver

DZone's Guide to

Search & Replace Iframe Hacked Files On Webserver

·
Free Resource
// 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 '
Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}