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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user