From e165a0e39f5c3c463772dcbf66b8e5f3dc01767b Mon Sep 17 00:00:00 2001 From: fyodor Date: Tue, 26 Jul 2011 21:35:20 +0000 Subject: [PATCH] Removed some comments which were causing the action function to be documented in a non-useful way on the web. It should have probably used just two dashes rather than starting with 3 and becoming an nsedoc comment. But since it just said MAIN, I simply removed the comment lines --- scripts/http-axis2-dir-traversal.nse | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/http-axis2-dir-traversal.nse b/scripts/http-axis2-dir-traversal.nse index 05074c45a..7560b5217 100644 --- a/scripts/http-axis2-dir-traversal.nse +++ b/scripts/http-axis2-dir-traversal.nse @@ -105,9 +105,7 @@ local function extract_credentials(host, port, body) end return false, "Credentials were not found." end ---- ---MAIN ---- + action = function(host, port) local outfile = stdnse.get_script_args("http-axis2-dir-traversal.outfile") local rfile = stdnse.get_script_args("http-axis2-dir-traversal.file") or DEFAULT_FILE