Land #5995, advanced options on Metasploit::Framework::LoginScanner::SMB

bug/bundler_fix
wchen-r7 2015-10-06 16:36:18 -05:00
commit 5fac0a6ae5
No known key found for this signature in database
GPG Key ID: 2384DB4EF06F730B
1 changed files with 10 additions and 3 deletions

View File

@ -55,9 +55,6 @@ class Metasploit3 < Msf::Auxiliary
register_options(
[
Opt::Proxies,
OptString.new('SMBPass', [ false, "SMB Password" ]),
OptString.new('SMBUser', [ false, "SMB Username" ]),
OptString.new('SMBDomain', [ false, "SMB Domain", '' ]),
OptBool.new('PRESERVE_DOMAINS', [ false, "Respect a username that contains a domain name.", true ]),
OptBool.new('RECORD_GUEST', [ false, "Record guest-privileged random logins to the database", false ])
], self.class)
@ -79,6 +76,16 @@ class Metasploit3 < Msf::Auxiliary
send_delay: datastore['TCP::send_delay'],
framework: framework,
framework_module: self,
smb_verify_signature: datastore['SMB::VerifySignature'],
use_ntlmv2: datastore['NTLM::UseNTLMv2'],
use_ntlm2_session: datastore['NTLM::UseNTLM2_session'],
send_lm: datastore['NTLM::SendLM'],
use_lmkey: datastore['NTLM::UseLMKey'],
send_ntlm: datastore['NTLM::SendNTLM'],
smb_native_os: datastore['SMB::Native_OS'],
smb_native_lm: datastore['SMB::Native_LM'],
send_spn: datastore['NTLM::SendSPN'],
host: ip
)
bogus_result = @scanner.attempt_bogus_login(domain)