mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 14:11:29 +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)
|
||||
if(not(status)) then
|
||||
return false, "Couldn't start SMB session: " .. smbstatus
|
||||
return false, "Couldn't start SMB session: " .. smbstate
|
||||
end
|
||||
|
||||
status, result = smb.negotiate_protocol(smbstate, overrides)
|
||||
|
||||
Reference in New Issue
Block a user