Skip to content

Instantly share code, notes, and snippets.

@aidan
Created March 26, 2012 11:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aidan/2204494 to your computer and use it in GitHub Desktop.
Save aidan/2204494 to your computer and use it in GitHub Desktop.
Malware cleanup
#!/bin/bash
for i in `find $1 -name "*.php"`; do sed 's/^.*aWYoZn.*\?>//' < $i > $i.clean ; mv $i.clean $i; done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment