Skip to content

Instantly share code, notes, and snippets.

@anotheremily
Created December 6, 2010 22:25
Show Gist options
  • Star 27 You must be signed in to star a gist
  • Fork 9 You must be signed in to fork a gist
  • Save anotheremily/731099 to your computer and use it in GitHub Desktop.
Save anotheremily/731099 to your computer and use it in GitHub Desktop.
hackers seem to like base64 encoding their php commands
#!/bin/bash
find . -name "*.php" -exec grep "base64" '{}' \; -print &> b64-detections.txt
find . -name "*.php" -exec grep "eval" '{}' \; -print &> eval-detections.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment