Fixed Guardian ssh log parsing.

This commit is contained in:
Christian Schmidt
2010-10-05 21:32:07 +02:00
parent f084117d93
commit a3db3cc9f6
2 changed files with 2 additions and 2 deletions

View File

@@ -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");}
}
}