Created
January 2, 2015 13:57
-
-
Save juanstiza/4abbed4f9507caf95b0c to your computer and use it in GitHub Desktop.
Clean nasty php virus with perl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
perl -p -i -e 's/\<\?php if\(\!isset\(\$GLOBALS\[\"[\\x0-9]+\"\][\s\S]+[\$a-z\=0-9]; \?\>//g' **/*.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment