Created
June 23, 2016 15:07
-
-
Save fjfish/8ba19d6da7562df1ce3071053271fb00 to your computer and use it in GitHub Desktop.
Find bots plaguing your apache installation
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
#! /bin/bash | |
# Get info xmrpc get the ip sort count sort for humans | |
cat /var/log/apache2/*log | grep xmlrpc | awk '{ print $1 '} | sort | uniq -c | sort -h |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment