1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-31 11:59:03 +00:00

Changed showSSHVersion to properly return one result (not through

concatentation).
This commit is contained in:
batrick
2008-08-15 23:45:57 +00:00
parent 8964cb8773
commit fbfc2fa045

View File

@@ -31,6 +31,6 @@ action = function(host, port)
try(socket:send(result))
try(socket:close())
return "" .. string.gsub(result, "\n", "")
return (string.gsub(result, "\n", ""))
end