Replace hyphens in the client SSH banner

Hyphen is not allowed in the software version string (RFC 4253, section 4.2)
This commit is contained in:
nnposter 2020-09-13 00:01:40 +00:00
parent 3b633fd97c
commit dd6650b887

View file

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