mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 22:21:29 +00:00
stdnse.print_debug -> stdnse.debug
$ sed -i 's/stdnse.print_debug("[-a-z0-9]*:\s*\([^"]*\)"/stdnse.debug1("\1"/' *.nse
$ sed -i 's/stdnse.print_debug(\([0-9]*\),\s*"[-a-z0-9]*:\s*\([^"]*\)"/stdnse.debug\1("\2"/' *.nse
Except:
o eap-info.nse
o oracle-brute.nse
Modified:
o couchdb-databases.nse
o couchdb-stats.nse
o http-open-redirect.nse
This commit is contained in:
@@ -186,7 +186,7 @@ function action(host, port)
|
||||
local return_table = {}
|
||||
|
||||
for _,target in ipairs(targets) do
|
||||
stdnse.print_debug(2, "http-form-fuzzer: testing path: "..target["path"])
|
||||
stdnse.debug2("testing path: "..target["path"])
|
||||
local path = target["path"]
|
||||
if path then
|
||||
local response = http.get( host, port, path )
|
||||
|
||||
Reference in New Issue
Block a user