mirror of
https://github.com/nmap/nmap.git
synced 2025-12-26 17:39:03 +00:00
Remove many ERROR outputs from non-debug NSE output
This commit is contained in:
@@ -42,7 +42,7 @@ categories = {"discovery", "safe"}
|
||||
|
||||
portrule = shortport.port_or_service(8091, "http", "tcp")
|
||||
|
||||
local function fail(err) return ("\n ERROR: %s"):format(err) end
|
||||
local function fail(err) return stdnse.format_output(false, err) end
|
||||
|
||||
local filter = {
|
||||
["parsed[1]['nodes'][1]['os']"] = { name = "OS" },
|
||||
|
||||
Reference in New Issue
Block a user