Agent: Use get_plaintext in SSHExploiter login with password
This commit is contained in:
parent
6171b66282
commit
867a3a83e7
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue