1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-10 23:46:34 +00:00

Use stdnse.print_debug instead of log_write. Patch by Henri Doreau.

This commit is contained in:
david
2011-04-19 18:09:13 +00:00
parent 94d0720515
commit 46c29d3f60
4 changed files with 7 additions and 5 deletions

View File

@@ -30,6 +30,7 @@ categories = {"safe", "discovery"}
require 'bin'
require 'packet'
require 'stdnse'
local NUMPROBES = 6
@@ -193,7 +194,7 @@ hostrule = function(host)
end
nmap.registry['ipidseq']['rootfail'] = true
if nmap.verbosity() > 0 then
nmap.log_write("stdout", "IPIDSEQ: not running for lack of privileges")
stdnse.print_debug("%s not running for lack of privileges.", SCRIPT_NAME)
end
return false
end