1st add for sshbruted

This commit is contained in:
swaits committed 2006-03-04 06:45:47 +00:00
commit c28c0a6e13
2 files changed
+19

No files matched your search

+9
View File
@@ -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