Skip to content

Instantly share code, notes, and snippets.

@madmuffin1
Created July 23, 2014 14:37
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Remove malicious code from scripts affected by mailpoet/wysija vulnerability
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