diff --git a/scripts/http-auth.nse b/scripts/http-auth.nse
index 532b80e1a..58a6d2908 100644
--- a/scripts/http-auth.nse
+++ b/scripts/http-auth.nse
@@ -23,6 +23,23 @@ authentication.
-- | Digest charset=utf-8 nonce=+Upgraded+v1e4e256b4afb7f89be014e...968ccd60affb7c qop=auth algorithm=MD5-sess realm=example.com
-- |_ Basic realm=example.com
--
+-- @xmloutput
+--
+-- Digest
+--
+-- np9qe4zJBAA=1f3ae82f536e70a806241b3358f571507a3a4d67
+-- Router
+-- MD5
+-- auth
+-- secret
+--
+--
+--
-- @args http-auth.path Define the request path
-- HTTP authentication information gathering script
@@ -82,5 +99,5 @@ action = function(host, port)
table.insert(result, line)
end
- return stdnse.format_output(true, result)
+ return challenges, stdnse.format_output(true, result)
end