From 8ce3b65272b02843fcbf7a5cb4b297622fe07b40 Mon Sep 17 00:00:00 2001 From: dmiller Date: Fri, 18 Oct 2013 16:05:44 +0000 Subject: [PATCH] Add xmloutput to sshv1.nse --- scripts/sshv1.nse | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/sshv1.nse b/scripts/sshv1.nse index 323d54c99..a03df40a7 100644 --- a/scripts/sshv1.nse +++ b/scripts/sshv1.nse @@ -14,6 +14,9 @@ categories = {"default", "safe"} -- PORT STATE SERVICE -- 22/tcp open ssh -- |_sshv1: Server supports SSHv1 +-- +-- @xmloutput +-- true portrule = shortport.port_or_service(22, "ssh") @@ -67,5 +70,5 @@ action = function(host, port) socket:close(); - return "Server supports SSHv1" + return true, "Server supports SSHv1" end