1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-03 05:09:14 +00:00

Fixed a small bug in smbv2-enabled.nse (was using the wrong variable for an error message)

This commit is contained in:
ron
2010-08-13 20:35:22 +00:00
parent 1ea691c4e3
commit af5d750a34

View File

@@ -33,7 +33,7 @@ local function go(host)
status, smbstate = smb.start(host)
if(not(status)) then
return false, "Couldn't start SMB session: " .. smb
return false, "Couldn't start SMB session: " .. smbstatus
end
status, result = smb.negotiate_protocol(smbstate, overrides)