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