From e2ccdb8074d02fbb204a0a1bacefa8685b613db4 Mon Sep 17 00:00:00 2001 From: dmiller Date: Mon, 11 Nov 2024 21:07:01 +0000 Subject: [PATCH] Fix a typo in ssh-run --- scripts/ssh-run.nse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ssh-run.nse b/scripts/ssh-run.nse index e0b680444..c40971940 100644 --- a/scripts/ssh-run.nse +++ b/scripts/ssh-run.nse @@ -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