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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user