Last active
October 2, 2017 01:11
-
-
Save unacceptable/92bc6ab4b18cb55f5e461c56d6127fb0 to your computer and use it in GitHub Desktop.
Watch brute force attempts on a non-secured server. (will list IPs)
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
tail -f /var/log/secure | awk -F "=" '/fail/ && /rhost/ {print$7}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A better solution would probably be something like: