Land #11524, remove some unused bits from modules

master
Brent Cook 2019-03-06 17:43:20 -06:00
commit eb15c457fe
No known key found for this signature in database
GPG Key ID: 1FFAA0B24B708F96
5 changed files with 6 additions and 15 deletions

View File

@ -6,7 +6,6 @@
class MetasploitModule < Msf::Auxiliary
include Msf::Auxiliary::Dos
include Msf::Exploit::Capture
include Exploit::Remote::Tcp
def initialize(info = {})
super(update_info(info,
@ -28,6 +27,12 @@ class MetasploitModule < Msf::Auxiliary
],
'DisclosureDate' => 'Apr 26 2000'))
register_options([
Opt::RPORT(80),
Opt::RHOST
]
)
deregister_options('FILTER','PCAPFILE', 'INTERFACE', 'SNAPLEN', 'TIMEOUT')
end

View File

@ -29,10 +29,6 @@ class MetasploitModule < Msf::Auxiliary
)
)
deregister_options('RHOST', 'SSL', 'DOMAIN', 'DigestAuthIIS', 'NTLM::SendLM',
'NTLM::SendNTLM', 'VHOST', 'RPORT', 'NTLM::SendSPN', 'NTLM::UseLMKey',
'NTLM::UseNTLM2_session', 'NTLM::UseNTLMv2')
register_options(
[
OptString.new('TARGET', [true, 'The target to get the score of']),

View File

@ -7,7 +7,6 @@ require 'net/https'
require 'uri'
class MetasploitModule < Msf::Auxiliary
include Msf::Exploit::Remote::HttpClient
include Msf::Auxiliary::Report
def initialize(info = {})
@ -32,10 +31,6 @@ class MetasploitModule < Msf::Auxiliary
)
)
deregister_options('RHOST', 'DOMAIN', 'DigestAuthIIS', 'NTLM::SendLM',
'NTLM::SendNTLM', 'VHOST', 'RPORT', 'NTLM::SendSPN', 'NTLM::UseLMKey',
'NTLM::UseNTLM2_session', 'NTLM::UseNTLMv2')
register_options(
[
OptString.new('SHODAN_APIKEY', [true, 'The SHODAN API key']),

View File

@ -39,7 +39,6 @@ class MetasploitModule < Msf::Auxiliary
OptString.new('SMBDomain', [ false, "SMB Domain", '']),
])
deregister_options('RHOST', 'CHOST', 'CPORT', 'SSL', 'SSLVersion')
end
# Determine the type of share based on an ID type value

View File

@ -26,10 +26,6 @@ class MetasploitModule < Msf::Auxiliary
'License' => MSF_LICENSE
))
deregister_options('RHOST', 'DOMAIN', 'DigestAuthIIS', 'NTLM::SendLM',
'NTLM::SendNTLM', 'VHOST', 'RPORT', 'NTLM::SendSPN', 'NTLM::UseLMKey',
'NTLM::UseNTLM2_session', 'NTLM::UseNTLMv2', 'SSL')
register_options(
[
OptString.new('USERNAME', [true, 'The ZoomEye username']),