forked from p15670423/monkey
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(
|
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,
|
||||||
|
|
Loading…
Reference in New Issue