diff --git a/monkey/infection_monkey/exploit/sshexec.py b/monkey/infection_monkey/exploit/sshexec.py index 3ff128203..7de9b26ce 100644 --- a/monkey/infection_monkey/exploit/sshexec.py +++ b/monkey/infection_monkey/exploit/sshexec.py @@ -119,7 +119,7 @@ class SSHExploiter(HostExploiter): ssh.connect( self.host.ip_addr, username=user, - password=current_password, + password=get_plaintext(current_password), port=port, timeout=SSH_CONNECT_TIMEOUT, auth_timeout=SSH_AUTH_TIMEOUT,