Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save pietromalerba/e8d4b2c57daee7a40cdff746eec32acc to your computer and use it in GitHub Desktop.
Save pietromalerba/e8d4b2c57daee7a40cdff746eec32acc 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