Skip to content

Commit 484d576

Browse files
committed
remove re-registered ssl options
1 parent 0871fe2 commit 484d576

27 files changed

+64
-85
lines changed

modules/auxiliary/admin/vmware/poweroff_vm.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ def initialize
2020
This module will log into the Web API of VMWare and try to power off
2121
a specified Virtual Machine.},
2222
'Author' => ['theLightCosine'],
23-
'License' => MSF_LICENSE
23+
'License' => MSF_LICENSE,
24+
'DefaultOptions' => { 'SSL' => true }
2425
)
2526

2627
register_options(
@@ -30,8 +31,6 @@ def initialize
3031
OptString.new('PASSWORD', [ true, "The password to Authenticate with.", 'password' ]),
3132
OptString.new('VM', [true, "The VM to try to Power Off"])
3233
], self.class)
33-
34-
register_advanced_options([OptBool.new('SSL', [ false, 'Negotiate SSL for outgoing connections', true]),])
3534
end
3635

3736
def run

modules/auxiliary/admin/vmware/poweron_vm.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ def initialize
2121
a specified Virtual Machine.
2222
},
2323
'Author' => ['theLightCosine'],
24-
'License' => MSF_LICENSE
24+
'License' => MSF_LICENSE,
25+
'DefaultOptions' => { 'SSL' => true }
2526
)
2627

2728
register_options(
@@ -31,8 +32,6 @@ def initialize
3132
OptString.new('PASSWORD', [ true, "The password to Authenticate with.", 'password' ]),
3233
OptString.new('VM', [true, "The VM to try to Power On"])
3334
], self.class)
34-
35-
register_advanced_options([OptBool.new('SSL', [ false, 'Negotiate SSL for outgoing connections', true]),])
3635
end
3736

3837
def run

modules/auxiliary/admin/vmware/tag_vm.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ def initialize
2222
logging a user event with user supplied text
2323
},
2424
'Author' => ['theLightCosine'],
25-
'License' => MSF_LICENSE
25+
'License' => MSF_LICENSE,
26+
'DefaultOptions' => { 'SSL' => true }
2627
)
2728

2829
register_options(
@@ -33,8 +34,6 @@ def initialize
3334
OptString.new('VM', [true, "The VM to try to Power On"]),
3435
OptString.new('MSG', [true, "The message to put in the log", 'Pwned by Metasploit'])
3536
], self.class)
36-
37-
register_advanced_options([OptBool.new('SSL', [ false, 'Negotiate SSL for outgoing connections', true]),])
3837
end
3938

4039
def run

modules/auxiliary/admin/vmware/terminate_esx_sessions.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ def initialize
2020
This module will log into the Web API of VMWare and try to terminate
2121
user login sessions as specified by the session keys.},
2222
'Author' => ['theLightCosine'],
23-
'License' => MSF_LICENSE
23+
'License' => MSF_LICENSE,
24+
'DefaultOptions' => { 'SSL' => true }
2425
)
2526

2627
register_options(
@@ -30,8 +31,6 @@ def initialize
3031
OptString.new('PASSWORD', [ true, "The password to Authenticate with.", 'password' ]),
3132
OptString.new('KEYS', [true, "The session key to terminate"])
3233
], self.class)
33-
34-
register_advanced_options([OptBool.new('SSL', [ false, 'Negotiate SSL for outgoing connections', true]),])
3534
end
3635

3736
def run

modules/auxiliary/gather/f5_bigip_cookie_disclosure.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ def initialize(info = {})
3232
'License' => MSF_LICENSE,
3333
'DefaultOptions' =>
3434
{
35-
'SSLVersion' => 'TLS1'
35+
'SSLVersion' => 'TLS1',
36+
'SSL' => true
3637
}
3738
))
3839

3940
register_options(
4041
[
4142
OptInt.new('RPORT', [true, 'The BigIP service port to listen on', 443]),
42-
OptBool.new('SSL', [true, "Negotiate SSL for outgoing connections", true]),
4343
OptString.new('TARGETURI', [true, 'The URI path to test', '/']),
4444
OptInt.new('REQUESTS', [true, 'The number of requests to send', 10])
4545
], self.class)

modules/auxiliary/gather/xerox_workcentre_5xxx_ldap.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ def initialize(info={})
2222
'Deral "Percentx" Heiland',
2323
'Pete "Bokojan" Arzamendi'
2424
],
25-
'License' => MSF_LICENSE
25+
'License' => MSF_LICENSE,
26+
'DefaultOptions' => { 'SSL' => false }
2627
))
2728

2829
register_options(
2930
[
30-
OptBool.new('SSL', [true, 'Negotiate SSL for outgoing connections', false]),
3131
OptString.new('PASSWORD', [true, 'Password to access administrative interface. Defaults to 1111', '1111']),
3232
OptPort.new('RPORT', [true, 'The target port on the remote printer. Defaults to 80', 80]),
3333
OptInt.new('TIMEOUT', [true, 'Timeout for printer connection probe.', 20]),

modules/auxiliary/scanner/http/chef_webui_login.rb

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,18 @@ def initialize
2626
[
2727
'hdm'
2828
],
29-
'License' => MSF_LICENSE
29+
'License' => MSF_LICENSE,
30+
'DefaultOptions' =>
31+
{
32+
'SSL' => true,
33+
'SSLVersion' => 'TLS1'
34+
}
3035
)
3136

3237
register_options(
3338
[
3439
Opt::RPORT(443),
3540
OptString.new('TARGETURI', [ true, 'The path to the Chef Web UI application', '/']),
36-
OptBool.new('SSL', [true, 'Negotiate SSL for outgoing connections', true]),
37-
OptEnum.new('SSLVersion', [false, 'Specify the version of SSL that should be used', 'TLS1', ['SSL2', 'SSL3', 'TLS1']])
3841
], self.class)
3942
end
4043

modules/auxiliary/scanner/http/cisco_asa_asdm.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ def initialize(info={})
2424
[
2525
'Jonathan Claudius <jclaudius[at]trustwave.com>',
2626
],
27-
'License' => MSF_LICENSE
27+
'License' => MSF_LICENSE,
28+
'DefaultOptions' => { 'SSL' => true }
2829
))
2930

3031
register_options(
3132
[
3233
Opt::RPORT(443),
33-
OptBool.new('SSL', [true, "Negotiate SSL for outgoing connections", true]),
3434
OptString.new('USERNAME', [true, "A specific username to authenticate as", 'cisco']),
3535
OptString.new('PASSWORD', [true, "A specific password to authenticate with", 'cisco'])
3636
], self.class)

modules/auxiliary/scanner/http/cisco_ironport_enum.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ def initialize(info={})
2424
[
2525
'Karn Ganeshen <KarnGaneshen[at]gmail.com>',
2626
],
27-
'License' => MSF_LICENSE
27+
'License' => MSF_LICENSE,
28+
'DefaultOptions' => { 'SSL' => true }
2829
))
2930

3031
register_options(
3132
[
3233
Opt::RPORT(443),
33-
OptBool.new('SSL', [true, "Negotiate SSL for outgoing connections", true]),
3434
OptString.new('USERNAME', [true, "A specific username to authenticate as", "admin"]),
3535
OptString.new('PASSWORD', [true, "A specific password to authenticate with", "ironport"])
3636
], self.class)

modules/auxiliary/scanner/http/cisco_ssl_vpn_priv_esc.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ def initialize(info = {})
3030
['URL', 'http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20140409-asa'],
3131
['URL', 'https://www3.trustwave.com/spiderlabs/advisories/TWSL2014-005.txt']
3232
],
33-
'DisclosureDate' => 'Apr 09 2014'
33+
'DisclosureDate' => 'Apr 09 2014',
34+
'DefaultOptions' => { 'SSL' => true }
3435
))
3536

3637
register_options(
3738
[
3839
Opt::RPORT(443),
39-
OptBool.new('SSL', [true, "Negotiate SSL for outgoing connections", true]),
4040
OptString.new('USERNAME', [true, "A specific username to authenticate as", 'clientless']),
4141
OptString.new('PASSWORD', [true, "A specific password to authenticate with", 'clientless']),
4242
OptString.new('GROUP', [true, "A specific VPN group to use", 'clientless']),

0 commit comments

Comments
 (0)