1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Fix a typo in ssh-run

This commit is contained in:
dmiller
2024-11-11 21:07:01 +00:00
parent 33bfd251b4
commit e2ccdb8074

View File

@@ -61,7 +61,7 @@ end
function action (host, port)
local conn = libssh2_util.SSHConnection:new()
local status, err = helper:connect_pcall(host, port)
local status, err = conn:connect_pcall(host, port)
if not status then
return "Failed to connect to ssh server: " .. err
end