Skip to content

Instantly share code, notes, and snippets.

@benoitjpnet
Created October 20, 2014 13:46
Show Gist options
  • Save benoitjpnet/7cf4385c7f42d9ee429a to your computer and use it in GitHub Desktop.
Save benoitjpnet/7cf4385c7f42d9ee429a to your computer and use it in GitHub Desktop.
Search for suspects POST in apache.log (often attacks)
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