mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Fixed a small bug in smbv2-enabled.nse (was using the wrong variable for an error message)
This commit is contained in:
parent
1ea691c4e3
commit
af5d750a34
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue