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