From efa565615bdc92b5d728333e528ed4eb7bad08da Mon Sep 17 00:00:00 2001 From: nnposter Date: Fri, 2 Sep 2016 23:32:32 +0000 Subject: [PATCH] Removes leading comment from action() to prevent polluting nsedoc --- scripts/http-default-accounts.nse | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/http-default-accounts.nse b/scripts/http-default-accounts.nse index d4cb9d510..f3ffbef06 100644 --- a/scripts/http-default-accounts.nse +++ b/scripts/http-default-accounts.nse @@ -223,11 +223,7 @@ local function register_http_credentials(host, port, login_username, login_passw c:add(login_username, login_password, creds.State.VALID ) end ---- --- MAIN --- Here we iterate through the paths to try to find a target. When a target is found --- the login routine is initialized to check for default credentials authentication ---- + action = function(host, port) local fingerprintload_status, status, fingerprints, pathmap, requests, results local fingerprint_filename = stdnse.get_script_args("http-default-accounts.fingerprintfile") or "http-default-accounts-fingerprints.lua"