heartbleed bugfix for pop3

bug/bundler_fix
Christian Mehlmauer 2014-04-09 17:51:44 +02:00
parent 0e0fd20f88
commit 899a7c9ea4
No known key found for this signature in database
GPG Key ID: BCFF4FA966BC32C7
1 changed files with 2 additions and 1 deletions

View File

@ -156,7 +156,7 @@ class Metasploit3 < Msf::Auxiliary
sock.get_once
sock.put("CAPA\r\n")
res = sock.get_once
if res.nil? || res =~ /^-/
if res.nil? || res =~ /^-/ || res !~ /STLS/
return nil
end
sock.put("STLS\r\n")
@ -164,6 +164,7 @@ class Metasploit3 < Msf::Auxiliary
if res.nil? || res =~ /^-/
return nil
end
res
end
def tls_jabber