Files
metasploit-gs/lib/msf/core/handler/reverse/ssl.rb
T
Spencer McIntyre c43d55068c Add the SSLVersion datastore option for handlers
Requires rapid7/rex-socket#37 for the option to be honored.
2021-08-06 14:44:48 -05:00

21 lines
444 B
Ruby

module Msf
module Handler
module Reverse
module SSL
#
# Adds the certificate option.
#
def initialize(info = {})
super
register_advanced_options(
[
OptPath.new('HandlerSSLCert', [false, "Path to a SSL certificate in unified PEM format"]),
Opt::SSLVersion,
], Msf::Handler::Reverse::SSL)
end
end
end
end
end