Use opts[:ssl_version]
This commit is contained in:
@@ -72,6 +72,7 @@ module Metasploit
|
|||||||
|
|
||||||
if opts[:ssl]
|
if opts[:ssl]
|
||||||
http.use_ssl = true
|
http.use_ssl = true
|
||||||
|
http.ssl_version = opts[:ssl_version]
|
||||||
end
|
end
|
||||||
if not @config['ssl_verify']
|
if not @config['ssl_verify']
|
||||||
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
|
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
|
||||||
|
|||||||
Reference in New Issue
Block a user