1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-29 10:59:02 +00:00

Add xmloutput to sshv1.nse

This commit is contained in:
dmiller
2013-10-18 16:05:44 +00:00
parent e243c5e69e
commit 8ce3b65272

View File

@@ -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