1st add for sshbruted
This commit is contained in:
commit
c28c0a6e13
2 files changed
+19
No files matched your search
@@ -0,0 +1,9 @@
|
||||
|
||||
regexp = /(.+).+mailsystem sshd\[\d+\]: Failed ([\A ]+) for ([\A\s]+) from ([\d\.]+) port (\d+) ssh2/
|
||||
match = regexp.match(subject)
|
||||
if match
|
||||
result = match[1]
|
||||
else
|
||||
result = ""
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user