Skip to content

Commit b866983

Browse files
author
Tod Beardsley
committed
Land rapid7#4025, auto-negotiate meterpreter SSL
2 parents 0941b98 + fcd9b4b commit b866983

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rex/post/meterpreter/client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def generate_ssl_context
248248
cert.add_extension ef.create_extension("authorityKeyIdentifier", "keyid:always,issuer:always")
249249
cert.sign(key, OpenSSL::Digest::SHA1.new)
250250

251-
ctx = OpenSSL::SSL::SSLContext.new(:SSLv3)
251+
ctx = OpenSSL::SSL::SSLContext.new
252252
ctx.key = key
253253
ctx.cert = cert
254254

0 commit comments

Comments
 (0)