mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-12 07:31:37 +02:00
committed by
Michael Tremer
parent
7514fe47f6
commit
2a747e37a8
@@ -106,6 +106,10 @@ for (;;) {
|
||||
$temp = $array[11];
|
||||
}
|
||||
&checkssh ($temp, "possible SSH-Bruteforce Attack");}
|
||||
|
||||
# This should catch Bruteforce Attacks with enabled preauth
|
||||
if ($_ =~ /.*sshd.*Received disconnect from (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}):.*\[preauth\]/) {
|
||||
&checkssh ($1, "possible SSH-Bruteforce Attack, failed preauth");}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -424,4 +428,4 @@ sub get_aliases {
|
||||
}
|
||||
|
||||
print "done \n";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user