mirror of
https://github.com/nmap/nmap.git
synced 2025-12-13 19:29:04 +00:00
Added the REQUEST_TARGET flag to the extended authentication packet. I have no clue what that flag does, and I can't find any documentation, but Nmap completely fails against Windows 7 unless it's set.
This commit is contained in:
@@ -658,7 +658,7 @@ end
|
|||||||
function get_security_blob(security_blob, ip, username, domain, password, password_hash, hash_type)
|
function get_security_blob(security_blob, ip, username, domain, password, password_hash, hash_type)
|
||||||
local pos = 1
|
local pos = 1
|
||||||
local new_blob
|
local new_blob
|
||||||
local flags = 0x00008211 -- (NEGOTIATE_SIGN_ALWAYS | NEGOTIATE_NTLM | NEGOTIATE_SIGN | NEGOTIATE_UNICODE)
|
local flags = 0x00008215 -- (NEGOTIATE_SIGN_ALWAYS | NEGOTIATE_NTLM | NEGOTIATE_SIGN | REQUEST_TARGET | NEGOTIATE_UNICODE)
|
||||||
|
|
||||||
if(security_blob == nil) then
|
if(security_blob == nil) then
|
||||||
-- If security_blob is nil, this is the initial packet
|
-- If security_blob is nil, this is the initial packet
|
||||||
|
|||||||
Reference in New Issue
Block a user