mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 13:11:28 +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:
@@ -270,7 +270,7 @@ action = function(host, port)
|
||||
-- try to inject
|
||||
local results_queries = {}
|
||||
if #injectable > 0 then
|
||||
stdnse.print_debug(1, "%s: Testing %d suspicious URLs", SCRIPT_NAME, #injectable)
|
||||
stdnse.debug1("Testing %d suspicious URLs", #injectable)
|
||||
local injectableQs = build_injection_vector(injectable)
|
||||
local responses = inject(host, port, injectableQs)
|
||||
results_queries = check_responses(injectableQs, responses)
|
||||
|
||||
Reference in New Issue
Block a user