From 39318fd8434e30e28d1524c2b38a6f158796aa57 Mon Sep 17 00:00:00 2001 From: ron Date: Fri, 13 Aug 2010 20:39:20 +0000 Subject: [PATCH] Fixed the same small bug in smbv2-enabled.nse (was still using the wrong variable for an error message) --- scripts/smbv2-enabled.nse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)