mirror of
https://github.com/nmap/nmap.git
synced 2025-12-14 11:49:01 +00:00
nselib stdnse.print_debug -> stdnse.debug
$ f() { find -name \*.lua -exec /bin/echo sed -i "$1" {} \; ; }
$ f 's/stdnse.print_debug( *\([0-9]*\) *, */stdnse.debug\1(/'
$ f 's/stdnse.print_debug( *"\(.*\))/stdnse.debug1("\1)/'
This commit is contained in:
@@ -11874,7 +11874,7 @@ local f = nmap.fetchfile(nikto_db_path) or io.open(nikto_db_path, "r")
|
||||
|
||||
if f then
|
||||
|
||||
stdnse.print_debug(1, "Found nikto db.")
|
||||
stdnse.debug1("Found nikto db.")
|
||||
|
||||
local nikto_db = {}
|
||||
for l in io.lines(nikto_db_path) do
|
||||
|
||||
Reference in New Issue
Block a user