1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-14 11:49:01 +00:00

xml output support for http-drupal-modules.nse

This commit is contained in:
kroosec
2012-08-25 14:02:27 +00:00
parent 1f869e32df
commit e3db186435

View File

@@ -80,7 +80,7 @@ end
action = function(host, port) action = function(host, port)
local root = stdnse.get_script_args(SCRIPT_NAME .. '.root') or "/" local root = stdnse.get_script_args(SCRIPT_NAME .. '.root') or "/"
local result = {} local result = stdnse.output_table()
local all = {} local all = {}
local requests = {} local requests = {}
local count = 0 local count = 0
@@ -138,5 +138,5 @@ action = function(host, port)
end end
end end
return stdnse.format_output(true,result) return result
end end