mirror of
https://github.com/nmap/nmap.git
synced 2026-10-10 07:15:12 +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:
parent
b7485a6e7f
commit
5161b8642a
46 changed files with 140 additions and 140 deletions
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue