mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
Fixed Guardian ssh log parsing.
This commit is contained in:
@@ -94,7 +94,7 @@ for (;;) {
|
||||
while (<ALERT2>) {
|
||||
chop;
|
||||
if ($_=~/.*sshd.*Failed password for root from.*/) {
|
||||
my @array=split(/ /,$_);&checkssh ($array[10], "possible SSH-Bruteforce Attack");}
|
||||
my @array=split(/ /,$_);&checkssh ($array[11], "possible SSH-Bruteforce Attack");}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user