From 641a5ff24cbefa2ffe41b5a2dce05280b4c7d3fc Mon Sep 17 00:00:00 2001 From: ron Date: Wed, 6 Jan 2010 03:39:17 +0000 Subject: [PATCH] Turned off logging in smb-psexec. When logging is on, a .txt file is left on the target system. --- 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 84a4f1757..752357a8a 100644 --- a/scripts/smb-psexec.nse +++ b/scripts/smb-psexec.nse @@ -1024,7 +1024,7 @@ local function get_params(config) table.insert(params, config.path .. "\\" .. config.output_file) table.insert(params, config.path .. "\\" .. config.temp_output_file) table.insert(params, tostring(#config.enabled_modules)) - table.insert(params, "1") -- TODO: Turn off logging + table.insert(params, "0") table.insert(params, config.key) table.insert(params, config.path) for _, mod in ipairs(config.enabled_modules) do