From 50f8718389fedf8d8cb1e9b3e18243f6dde17301 Mon Sep 17 00:00:00 2001 From: ron Date: Mon, 14 Dec 2009 16:27:05 +0000 Subject: [PATCH] Added some extra information to an error message -- I realized the current error wasn't descriptive enough --- scripts/smb-psexec.nse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/smb-psexec.nse b/scripts/smb-psexec.nse index cec1b805b..991f9236c 100644 --- a/scripts/smb-psexec.nse +++ b/scripts/smb-psexec.nse @@ -588,7 +588,7 @@ local function find_share(host) -- Try and find a share to use. status, share, path, shares = smb.share_find_writable(host) if(status == false) then - return false, share + return false, share .. " (May not have an administrator account)" end if(path == nil) then return false, string.format("Couldn't find path to writable share (we probably don't have admin access): '%s'", share)