Created
April 12, 2011 16:23
-
-
Save Ignition/915833 to your computer and use it in GitHub Desktop.
Blog-p1-i1
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
Failed password | |
Did not receive identification string |
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
#!/bin/sh | |
zcat -f /var/log/auth.log* | grep -Ehf bad-phrases | grep -Eho '([0-9]{1,3}\.){3}[0-9]{1,3}' | sort -n | uniq | grep -vf white-list |
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
Accepted publickey | |
Accepted password |
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
#!/bin/sh | |
zcat -f /var/log/auth.log* | grep -Ehf entry-phrases | grep -Eho '([0-9]{1,3}\.){3}[0-9]{1,3}' | sort -n | uniq | grep -vf white-list |
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
X.X.X.X |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment