Skip to content

Commit d3ee86d

Browse files
committed
update to new format
1 parent 249c08f commit d3ee86d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/msf/core/opt.rb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,10 @@ def self.RPORT(default=nil, required=true, desc="The target port")
5353

5454
# @return [OptEnum]
5555
def self.SSLVersion
56-
Msf::OptEnum.new('SSLVersion', [ false,
57-
'Specify the version of SSL/TLS to be used (Auto, TLS and SSL23 are auto-negotiate)', 'Auto',
58-
['Auto', 'SSL2', 'SSL3', 'SSL23', 'TLS', 'TLS1', 'TLS1.1', 'TLS1.2']])
56+
Msf::OptEnum.new('SSLVersion',
57+
'Specify the version of SSL/TLS to be used (Auto, TLS and SSL23 are auto-negotiate)',
58+
enums: ['Auto', 'SSL2', 'SSL3', 'SSL23', 'TLS', 'TLS1', 'TLS1.1', 'TLS1.2']
59+
)
5960
end
6061

6162
# These are unused but remain for historical reasons

0 commit comments

Comments
 (0)