diff --git a/nselib/smb.lua b/nselib/smb.lua index c664202f8..1942553e6 100644 --- a/nselib/smb.lua +++ b/nselib/smb.lua @@ -1319,6 +1319,7 @@ local function start_session_extended(smb, log_errors, overrides) sp_nego = ( oid == "\x2b\x06\x01\x05\x05\x02" ) -- check for SPNEGO OID 1.3.6.1.5.5.2 end + local ntlm_challenge_accepted = false while result ~= false do -- These are loop variables local security_blob = nil @@ -1427,24 +1428,27 @@ local function start_session_extended(smb, log_errors, overrides) -- Parse the data pos, security_blob, os, lanmanager = bin.unpack(string.format("