mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 14:11:29 +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:
@@ -44,7 +44,7 @@ action = function(host, port)
|
||||
local output = {}
|
||||
local rfile = stdnse.get_script_args("http-litespeed-sourcecode-download.uri") or "/index.php"
|
||||
|
||||
stdnse.print_debug(1, "%s: Trying to download the source code of %s", SCRIPT_NAME, rfile)
|
||||
stdnse.debug1("Trying to download the source code of %s", rfile)
|
||||
--we append a null byte followed by ".txt" to retrieve the source code
|
||||
local req = http.get(host, port, rfile.."\00.txt")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user