mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 22:21:29 +00:00
more stdnse.print_debug -> stdnse.debug
$ sed -i 's/stdnse.print_debug( *\([0-9]*\) *, *" *%s *:* *\([^"]*\)" *, *SCRIPT_NAME/stdnse.debug\1("\2"/' *.nse
$ sed -i 's/stdnse.print_debug( *" *%s *:* *\([^"]*\)" *, *SCRIPT_NAME/stdnse.debug1("\1"/' *.nse
This commit is contained in:
@@ -114,7 +114,7 @@ local function findName(host, port, path, number)
|
||||
errors = errors+1
|
||||
end
|
||||
if errors>10 then
|
||||
stdnse.print_debug(1, "%s:False positive detected. Exiting.", SCRIPT_NAME)
|
||||
stdnse.debug1("False positive detected. Exiting.")
|
||||
errors_max=true
|
||||
else
|
||||
stdnse.print_debug(1, "Added folder: %s", path .. "~" .. number)
|
||||
|
||||
Reference in New Issue
Block a user