2015-10-07 09:59:12 -05:00
|
|
|
module Msf
|
|
|
|
|
module Handler
|
|
|
|
|
module Reverse
|
|
|
|
|
module SSL
|
|
|
|
|
#
|
|
|
|
|
# Adds the certificate option.
|
|
|
|
|
#
|
|
|
|
|
def initialize(info = {})
|
|
|
|
|
super
|
|
|
|
|
register_advanced_options(
|
|
|
|
|
[
|
2021-07-22 16:08:24 -04:00
|
|
|
OptPath.new('HandlerSSLCert', [false, "Path to a SSL certificate in unified PEM format"]),
|
|
|
|
|
Opt::SSLVersion,
|
2015-10-07 09:59:12 -05:00
|
|
|
], Msf::Handler::Reverse::SSL)
|
|
|
|
|
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|