I often have problem with sites that get hacked. Usualy they end up with inserted script in different files. Is there a way, on linux, to search for this content and automaticaly delte it ? Usualy this content starts with, and ends with something like this.
Would it be possible to use some kind of combination of grep to search for files containing this content and then pipeing it to sed to delete everything from