mirror of
https://github.com/nmap/nmap.git
synced 2025-12-26 17:39:03 +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:
@@ -94,7 +94,7 @@ action = function(host, port)
|
||||
--check for awstats signature
|
||||
local awstats_check = check_installation(host, port, uri)
|
||||
if not(awstats_check) then
|
||||
stdnse.print_debug(1, "%s:This does not look like Awstats Totals. Quitting.", SCRIPT_NAME)
|
||||
stdnse.debug1("This does not look like Awstats Totals. Quitting.")
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user