mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +00:00
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:
parent
3b633fd97c
commit
dd6650b887
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue