Created
July 23, 2014 14:37
-
-
Save madmuffin1/ce9a9933b5c4da60fcc2 to your computer and use it in GitHub Desktop.
Remove malicious code from scripts affected by mailpoet/wysija vulnerability
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
grep -l yhvobwawyd * -R | xargs -i sh -c "echo {} && sed -i '1 s/^.*$/<?php/' \"{}\";" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment