From dd6650b887d23df6b01fcd4199f653cec68ce8ca Mon Sep 17 00:00:00 2001 From: nnposter Date: Sun, 13 Sep 2020 00:01:40 +0000 Subject: [PATCH] Replace hyphens in the client SSH banner Hyphen is not allowed in the software version string (RFC 4253, section 4.2) --- scripts/ssh2-enum-algos.nse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ssh2-enum-algos.nse b/scripts/ssh2-enum-algos.nse index e634f62ee..8b109d668 100644 --- a/scripts/ssh2-enum-algos.nse +++ b/scripts/ssh2-enum-algos.nse @@ -171,7 +171,7 @@ action = function(host, port) return end - status = sock:send("SSH-2.0-Nmap-SSH2-Enum-Algos\r\n") + status = sock:send("SSH-2.0-Nmap_SSH2_Enum_Algos\r\n") if not status then sock:close() return