From 1b07c5ce542c14a421a3010d4ac421a454294d64 Mon Sep 17 00:00:00 2001 From: dmiller Date: Fri, 18 Oct 2013 18:34:54 +0000 Subject: [PATCH] Add xmloutput to tls-nextprotoneg.nse --- scripts/tls-nextprotoneg.nse | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/tls-nextprotoneg.nse b/scripts/tls-nextprotoneg.nse index e1849660b..3b5e0ee98 100644 --- a/scripts/tls-nextprotoneg.nse +++ b/scripts/tls-nextprotoneg.nse @@ -26,6 +26,12 @@ For more information , see: -- | spdy/3 -- | spdy/2 -- |_ http/1.1 +-- +-- @xmloutput +-- spdy/4a4 +-- spdy/3.1 +-- spdy/3 +-- http/1.1 author = "Hani Benhabiles" @@ -171,6 +177,6 @@ action = function(host, port) if status and response then -- Analyze response local results = check_npn(response) - return stdnse.format_output(true, results) + return results end end