mirror of
https://github.com/nmap/nmap.git
synced 2025-12-31 20:09:02 +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:
@@ -95,7 +95,7 @@ system commands as the 'root' user.
|
||||
end
|
||||
|
||||
-- Parse response
|
||||
stdnse.print_debug(2, "%s: Received reply:\n%s", SCRIPT_NAME, data)
|
||||
stdnse.debug2("Received reply:\n%s", data)
|
||||
if not string.match(data, "QCONN") then
|
||||
stdnse.debug1("%s:%s is not a QNX QCONN daemon.", host.targetname or host.ip, port.number)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user