mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +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");}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ THISAPP = guardian-$(VER)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = guardian
|
||||
PAK_VER = 5
|
||||
PAK_VER = 6
|
||||
|
||||
DEPS = ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user