Created
October 20, 2014 13:46
-
-
Save benoitjpnet/7cf4385c7f42d9ee429a to your computer and use it in GitHub Desktop.
Search for suspects POST in apache.log (often attacks)
This file contains hidden or 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
grep -Eo '"POST .*.php' access.log | grep -ve cron -e login -e admin -e xmlrpc -e trackback -e comment -e 404 | sort -u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment