heartbleed bugfix for pop3
parent
0e0fd20f88
commit
899a7c9ea4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue