We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28e661e commit 9b17191Copy full SHA for 9b17191
modules/auxiliary/scanner/http/ssl_version.rb
@@ -52,7 +52,6 @@ def initialize
52
# Fingerprint a single host
53
def run_host(ip)
54
begin
55
- connect
56
res = send_request_raw({ 'uri' => '/', 'method' => 'GET' })
57
fp = http_fingerprint(:response => res)
58
if fp
@@ -67,9 +66,6 @@ def run_host(ip)
67
66
rescue ::OpenSSL::SSL::SSLError => e
68
ssl_version = e.message.match(/ state=([^\s]+)/)[1]
69
vprint_status("#{peer} does not accept #{ssl_version}")
70
- rescue ::Timeout::Error, ::Errno::EPIPE
71
- ensure
72
- disconnect
73
end
74
75
0 commit comments