Allow non-SSLv3 Meterpreters (auto-negotiate)

bug/bundler_fix
HD Moore 2014-10-15 13:57:51 -05:00
parent 0941b98596
commit fcd9b4b293
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ class Client
cert.add_extension ef.create_extension("authorityKeyIdentifier", "keyid:always,issuer:always")
cert.sign(key, OpenSSL::Digest::SHA1.new)
ctx = OpenSSL::SSL::SSLContext.new(:SSLv3)
ctx = OpenSSL::SSL::SSLContext.new
ctx.key = key
ctx.cert = cert