mirror of
https://github.com/nmap/nmap.git
synced 2025-12-16 04:39:03 +00:00
Fix logic error with parentheses. Fixes #1544
This commit is contained in:
@@ -1351,7 +1351,7 @@ local function start_session_extended(smb, log_errors, overrides)
|
||||
end
|
||||
else
|
||||
if ( sp_nego ) then
|
||||
if ( smb['domain'] or smb['server'] and ( not(domain) or #domain == 0 ) ) then
|
||||
if (smb['domain'] or smb['server']) and (not domain or #domain == 0) then
|
||||
domain = smb['domain'] or smb['server']
|
||||
end
|
||||
hash_type = "ntlm"
|
||||
|
||||
Reference in New Issue
Block a user