1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 20:29:03 +00:00

stdnse.print_debug -> stdnse.debug1

$ sed -i 's/stdnse.print_debug(1, "%s: \([^"]*\)", SCRIPT_NAME/stdnse.debug1("\1"/' *.nse
This commit is contained in:
batrick
2014-08-01 21:29:42 +00:00
parent b7485a6e7f
commit 5161b8642a
46 changed files with 140 additions and 140 deletions

View File

@@ -72,7 +72,7 @@ action = function(host, port)
SCRIPT_NAME, SCRIPT_NAME)
end
stdnse.print_debug(1, "%s: Checking host %s", SCRIPT_NAME, target_url)
stdnse.debug1("Checking host %s", target_url)
local qry = build_qry(apikey, target_url)
local req = http.get_url(qry)
stdnse.print_debug(2, "%s", qry)