Skip to content

Instantly share code, notes, and snippets.

@jasperf
Forked from anotheremily/find-base64-occurences
Created September 21, 2022 11:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasperf/271c9f10d09c1131b1157578780af50a to your computer and use it in GitHub Desktop.
Save jasperf/271c9f10d09c1131b1157578780af50a 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