Quit when we get an SSL exception
git-svn-id: file:///home/svn/framework3/trunk@10470 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
54c1ec843d
commit
25d18f1f1b
|
@ -129,6 +129,9 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
rescue ::Rex::HostUnreachable, ::Rex::ConnectionRefused
|
||||
print_error("The target service unreachable")
|
||||
break
|
||||
rescue ::OpenSSL::SSL::SSLError
|
||||
print_error("The target failed to negotiate SSL, is this really a SSL service?")
|
||||
break
|
||||
rescue ::Exception => e
|
||||
print_error("Exception #{e.class} #{e}")
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue