mirror of
https://github.com/nmap/nmap.git
synced 2025-12-27 01:49: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:
@@ -76,7 +76,7 @@ action = function(host, port)
|
||||
response = http.get(host, port, evil_uri)
|
||||
if response.body and response.status==200 then
|
||||
if response.body:match("unknowntopic") then
|
||||
stdnse.print_debug(1, "%s:[Error] The server is not vulnerable, '%s' was not found or the web server has insufficient permissions to read it", SCRIPT_NAME, rfile)
|
||||
stdnse.debug1("[Error] The server is not vulnerable, '%s' was not found or the web server has insufficient permissions to read it", rfile)
|
||||
return
|
||||
end
|
||||
local _
|
||||
|
||||
Reference in New Issue
Block a user