Skip to content

Instantly share code, notes, and snippets.

@skmezanul
Forked from anotheremily/find-base64-occurences
Created March 28, 2018 12:31
Show Gist options
  • Save skmezanul/b2b619acf83fc5b504b38248b746836e to your computer and use it in GitHub Desktop.
Save skmezanul/b2b619acf83fc5b504b38248b746836e 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