mirror of
https://github.com/nmap/nmap.git
synced 2026-01-06 22:49:02 +00:00
more stdnse.print_debug -> stdnse.debug
This is a catchall pattern with a few exclusions. $ sed -i 's/stdnse.print_debug( *\([0-9]*\) *, *\(.*\))/stdnse.debug\1(\2)/' *.nse $ sed -i 's/stdnse.print_debug(\(.*\))/stdnse.debug1(\1)/' *.nse Excluded: $ svn revert db2-das-info.nse $ svn revert flume-master-info.nse $ svn revert http-headers.nse $ svn revert http-methods.nse $ svn revert http-unsafe-output-escaping.nse $ svn revert http-userdir-enum.nse $ svn revert http-vuln-cve2011-3192.nse $ svn revert http-vuln-wnr1000-creds.nse $ svn revert http-wordpress-plugins.nse $ svn revert telnet-brute.nse
This commit is contained in:
@@ -190,7 +190,7 @@ local function check_keys(host, keys, f)
|
||||
end
|
||||
else
|
||||
if stdnse.contains(possible_host_names, parts[1]) then
|
||||
stdnse.print_debug(2, "Found an entry that matches: %s", parts[1])
|
||||
stdnse.debug2("Found an entry that matches: %s", parts[1])
|
||||
table.insert(keys_from_file, ("%s %s"):format(parts[2], parts[3]))
|
||||
else
|
||||
-- Is the key the same but the clear text hostname isn't?
|
||||
|
||||
Reference in New Issue
Block a user