Agent: Remove "credentials" local variable
This commit is contained in:
parent
a2bdc69388
commit
1928f1b9bc
|
@ -48,9 +48,7 @@ class PowerShellExploiter(HostExploiter):
|
|||
return self._execute_monkey_agent_on_victim()
|
||||
|
||||
def _authenticate_via_brute_force(self) -> Optional[Client]:
|
||||
credentials = self._get_credentials()
|
||||
|
||||
for username, password in credentials:
|
||||
for username, password in self._get_credentials():
|
||||
try:
|
||||
client = self._authenticate(username, password)
|
||||
|
||||
|
|
Loading…
Reference in New Issue