From b8a344ca20f4f0bc2ba572c7dc7caf0ed1aad8d2 Mon Sep 17 00:00:00 2001 From: dmiller Date: Thu, 12 Jun 2025 23:25:36 +0000 Subject: [PATCH] ssh-run: enable keyboard-interactive auth if needed --- 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 c40971940..a66e56e71 100644 --- a/scripts/ssh-run.nse +++ b/scripts/ssh-run.nse @@ -66,7 +66,7 @@ function action (host, port) return "Failed to connect to ssh server: " .. err end if username and password and cmd then - if not conn:password_auth(username, password) then + if not conn:login(username, password) then conn:disconnect() stdnse.verbose "Failed to authenticate" return "Authentication Failed"