Skip to content

Instantly share code, notes, and snippets.

@tdurrenberger
Created February 28, 2017 08:42
Show Gist options
  • Save tdurrenberger/ace583c5b0ec479e636e7116a20a46c6 to your computer and use it in GitHub Desktop.
Save tdurrenberger/ace583c5b0ec479e636e7116a20a46c6 to your computer and use it in GitHub Desktop.
clean malicious PHP script
find . -name '*.php' -print0 | xargs -0 sed -i 's/<?php \$fkmjyagft.*?\?>//'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment