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 f891248 commit 6577728Copy full SHA for 6577728
lib/metasploit/framework/mssql/tdssslproxy.rb
@@ -51,8 +51,9 @@ def cleanup
51
def setup_ssl
52
@running = true
53
@t1 = Thread.start { ssl_setup_thread }
54
- ssl_context = OpenSSL::SSL::SSLContext.new(:TLSv1)
55
- @ssl_socket = OpenSSL::SSL::SSLSocket.new(@s1, ssl_context)
+ ctx = OpenSSL::SSL::SSLContext.new(:SSLv23)
+ ctx.ciphers = "ALL:!ADH:!EXPORT:!SSLv2:!SSLv3:+HIGH:+MEDIUM"
56
+ @ssl_socket = OpenSSL::SSL::SSLSocket.new(@s1, ctx)
57
@ssl_socket.connect
58
end
59
0 commit comments