From af5d750a34f83e260284149084f6452a751b7480 Mon Sep 17 00:00:00 2001 From: ron Date: Fri, 13 Aug 2010 20:35:22 +0000 Subject: [PATCH] Fixed a small bug in smbv2-enabled.nse (was 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 2b363163b..4b999682a 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: " .. smb + return false, "Couldn't start SMB session: " .. smbstatus end status, result = smb.negotiate_protocol(smbstate, overrides)