From e3db1864358299ad55d80f515150714d60389b33 Mon Sep 17 00:00:00 2001 From: kroosec Date: Sat, 25 Aug 2012 14:02:27 +0000 Subject: [PATCH] xml output support for http-drupal-modules.nse --- scripts/http-drupal-modules.nse | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/http-drupal-modules.nse b/scripts/http-drupal-modules.nse index 58a5ab3e9..34806a382 100644 --- a/scripts/http-drupal-modules.nse +++ b/scripts/http-drupal-modules.nse @@ -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