mirror of
https://github.com/nmap/nmap.git
synced 2025-12-15 20:29:03 +00:00
stdnse.print_debug -> stdnse.debug1
$ sed -i 's/stdnse.print_debug(1, "%s: \([^"]*\)", SCRIPT_NAME/stdnse.debug1("\1"/' *.nse
This commit is contained in:
@@ -75,7 +75,7 @@ local function get_installation_path(host, port, basepath)
|
||||
local _, _, path = string.find(req.header['set-cookie'],
|
||||
"path=/, ANALYZER_DIRECTORY=(.-);path=/")
|
||||
if path then
|
||||
stdnse.print_debug(1, "%s: Extracted path:%s", SCRIPT_NAME, path)
|
||||
stdnse.debug1("Extracted path:%s", path)
|
||||
return path
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user