Last active
October 11, 2015 16:47
-
-
Save kzap/3889059 to your computer and use it in GitHub Desktop.
Scan for a file with possible malicious PHP code in it
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/bin/find /DIRECTORY/TO/SCAN/ -type f -print0 | /usr/bin/xargs -0 grep 'eval(\$' | /usr/bin/mail -s 'Scan Report' yourname@email.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment