Agent: Use get_plaintext in SSHExploiter login with password

This commit is contained in:
Ilija Lazoroski 2022-09-09 13:03:16 +02:00 committed by Mike Salvatore
parent 6171b66282
commit 867a3a83e7
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ class SSHExploiter(HostExploiter):
ssh.connect( ssh.connect(
self.host.ip_addr, self.host.ip_addr,
username=user, username=user,
password=current_password, password=get_plaintext(current_password),
port=port, port=port,
timeout=SSH_CONNECT_TIMEOUT, timeout=SSH_CONNECT_TIMEOUT,
auth_timeout=SSH_AUTH_TIMEOUT, auth_timeout=SSH_AUTH_TIMEOUT,