forked from p15670423/monkey
Agent: Fix powershell second hop authentication
On the second hop powershell is trying to authenticate with only a dummy username and passsword which is not enough. We need to provide the local domain for the username, which case is '.\'
This commit is contained in:
parent
241641ba80
commit
e8a162ab5b
|
@ -115,7 +115,7 @@ class PowerShellExploiter(HostExploiter):
|
||||||
|
|
||||||
def _try_ssl_login(self, use_ssl: bool):
|
def _try_ssl_login(self, use_ssl: bool):
|
||||||
credentials = Credentials(
|
credentials = Credentials(
|
||||||
username="dummy_username",
|
username=".\\dummy_username",
|
||||||
secret="dummy_password",
|
secret="dummy_password",
|
||||||
secret_type=SecretType.PASSWORD,
|
secret_type=SecretType.PASSWORD,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue