1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-28 02:19:04 +00:00

more stdnse.print_debug -> stdnse.debug

$ sed -i 's/stdnse.print_debug( *\([0-9]*\) *, *SCRIPT_NAME *.. *" *:* *\([^"]*\)"/stdnse.debug\1("\2"/' *.nse
$ sed -i 's/stdnse.print_debug( *SCRIPT_NAME *.. *" *:* *\([^"]*\)"/stdnse.debug1("\1"/' *.nse
This commit is contained in:
batrick
2014-08-02 02:13:12 +00:00
parent d47acf9f5e
commit 5d4c5a659c
3 changed files with 13 additions and 13 deletions

View File

@@ -223,7 +223,7 @@ action = function (host, port)
table.insert(backups, url_path .. " " .. response["status-line"]);
else
stdnse.print_debug(1, SCRIPT_NAME .. ": %s: found but not matching: %s",
stdnse.debug1("%s: found but not matching: %s",
host.targetname or host.ip, url_path);
end
end