mirror of
https://github.com/nmap/nmap.git
synced 2025-12-11 10:19:03 +00:00
Fixed the same small bug in smbv2-enabled.nse (was still using the wrong variable for an error message)
This commit is contained in:
@@ -33,7 +33,7 @@ local function go(host)
|
|||||||
|
|
||||||
status, smbstate = smb.start(host)
|
status, smbstate = smb.start(host)
|
||||||
if(not(status)) then
|
if(not(status)) then
|
||||||
return false, "Couldn't start SMB session: " .. smbstatus
|
return false, "Couldn't start SMB session: " .. smbstate
|
||||||
end
|
end
|
||||||
|
|
||||||
status, result = smb.negotiate_protocol(smbstate, overrides)
|
status, result = smb.negotiate_protocol(smbstate, overrides)
|
||||||
|
|||||||
Reference in New Issue
Block a user