summaryrefslogtreecommitdiff
path: root/local/sslcheck.sh
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2018-05-02 09:38:53 +0000
committerIan C <ianc@noddybox.co.uk>2018-05-02 09:38:53 +0000
commit1878f8dd10bb152e6621d3f28a5664a4661077b5 (patch)
treea2715f017c4eb54e0c3ac2ae700da6ff1506485d /local/sslcheck.sh
parentd54e8ee210cf046b47cc6a51ad6e1b2476b65492 (diff)
Added local admin scripts
Diffstat (limited to 'local/sslcheck.sh')
-rwxr-xr-xlocal/sslcheck.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/local/sslcheck.sh b/local/sslcheck.sh
new file mode 100755
index 0000000..f04a6ec
--- /dev/null
+++ b/local/sslcheck.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+grep "Failed password for invalid user " /var/log/auth.log | \
+ awk '{print $13}' | sort | uniq -c | sort -n