mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +00:00
Fix logic error with parentheses. Fixes #1544
This commit is contained in:
parent
6fb1ed73a6
commit
0855eb4c0c
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue