diff --git a/scripts/broadcast-sonicwall-discover.nse b/scripts/broadcast-sonicwall-discover.nse index c2f94ab2a..6b5b9546e 100644 --- a/scripts/broadcast-sonicwall-discover.nse +++ b/scripts/broadcast-sonicwall-discover.nse @@ -41,13 +41,13 @@ local interface = stdnse.get_script_args(SCRIPT_NAME .. ".interface") or nmap.ge prerule = function() if not nmap.is_privileged() then - stdnse.print_verbose("%s not running for lack of privileges.", SCRIPT_NAME) + stdnse.verbose1("Not running for lack of privileges.") return false end local has_interface = ( interface ~= nil ) if ( not(has_interface) ) then - stdnse.print_verbose("%s no network interface was supplied, aborting ...", SCRIPT_NAME) + stdnse.verbose1("No network interface was supplied, aborting.") return false end return true diff --git a/scripts/http-wordpress-enum.nse b/scripts/http-wordpress-enum.nse index df298154f..ebb68dc72 100644 --- a/scripts/http-wordpress-enum.nse +++ b/scripts/http-wordpress-enum.nse @@ -236,7 +236,7 @@ action = function(host, port) -- release hell... local pipeline_returns = http.pipeline_go(host, port, all) if not pipeline_returns then - stdnse.print_verbose(1,"got no answers from pipelined queries") + stdnse.verbose1("got no answers from pipelined queries") return nil end local response = {} diff --git a/scripts/tor-consensus-checker.nse b/scripts/tor-consensus-checker.nse index 56a3e6ffa..3b0f3b92e 100644 --- a/scripts/tor-consensus-checker.nse +++ b/scripts/tor-consensus-checker.nse @@ -87,7 +87,7 @@ function script_init() end end if not(isConnected) then - stdnse.print_verbose("failed to connect to directory authorities") + stdnse.verbose1("failed to connect to directory authorities") end nmap.registry.tornode.connect = isConnected end