diff --git a/scripts/smbv2-enabled.nse b/scripts/smbv2-enabled.nse index 4b999682a..26fb7cb96 100644 --- a/scripts/smbv2-enabled.nse +++ b/scripts/smbv2-enabled.nse @@ -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)