c43d55068c
Requires rapid7/rex-socket#37 for the option to be honored.
21 lines
444 B
Ruby
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
|