Rework this option as well

git-svn-id: file:///home/svn/framework3/trunk@11903 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2011-03-08 23:46:44 +00:00
parent c2aede0a59
commit e71e609ab0
1 changed files with 4 additions and 1 deletions

View File

@ -42,7 +42,6 @@ module Exploit::Remote::SMB
OptString.new('SMBUser', [ false, 'The username to authenticate as', '']),
OptString.new('SMBPass', [ false, 'The password for the specified username', '']),
OptString.new('SMBDomain', [ false, 'The Windows domain to use for authentication', 'WORKGROUP']),
OptBool.new('NTLM::UseNTLMv2', [ true, "Use NTLMv2 instead of NTLM2_session when \'Negotiate NTLM2\' key is true (default on vista and above)\n[valid when NTLM::UseNTLM2_session = true]", false]),
], Msf::Exploit::Remote::SMB::Authenticated)
end
end
@ -78,6 +77,10 @@ module Exploit::Remote::SMB
OptString.new('SMB::Native_OS', [ true, 'The Native OS to send during authentication', 'Windows 2000 2195']),
OptString.new('SMB::Native_LM', [ true, 'The Native LM to send during authentication', 'Windows 2000 5.0']),
#
# UseNTLMv2 determins whether NTLMv2_session negotiation should be used, only valid when NTLM::UseNTLM2_session = true
#
OptBool.new('NTLM::UseNTLMv2', [ true, "Use NTLMv2 instead of NTLM2_session when \'Negotiate NTLM2\' key is true", false]),
#
# UseNTLMv2 forces NTLMv2 instead of NTLM2_session behavior when the 'Negotiate NTLM2' flag is set
#
OptBool.new('NTLM::UseNTLMv2', [ true, "Use NTLMv2 instead of NTLM2_session when \'Negotiate NTLM2\' key is true", false]),