Use opts[:ssl_version]

This commit is contained in:
Brendan Coles
2015-09-29 06:27:45 +00:00
parent 6e229a28cf
commit 00afced5f1

View File

@@ -72,6 +72,7 @@ module Metasploit
if opts[:ssl]
http.use_ssl = true
http.ssl_version = opts[:ssl_version]
end
if not @config['ssl_verify']
http.verify_mode = OpenSSL::SSL::VERIFY_NONE