Agent: Pass list of servers in HostExploiter.exploit_host

This commit is contained in:
Ilija Lazoroski 2022-09-05 13:11:41 +02:00 committed by Mike Salvatore
parent b2f0b54d37
commit 8fc0d52b8b
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ import logging
import threading import threading
from abc import abstractmethod from abc import abstractmethod
from datetime import datetime from datetime import datetime
from typing import Dict, List from typing import Dict, Sequence
from common.event_queue import IAgentEventQueue from common.event_queue import IAgentEventQueue
from common.utils.exceptions import FailedExploitationError from common.utils.exceptions import FailedExploitationError
@ -59,7 +59,7 @@ class HostExploiter:
def exploit_host( def exploit_host(
self, self,
host, host,
servers: List[str], servers: Sequence[str],
current_depth: int, current_depth: int,
telemetry_messenger: ITelemetryMessenger, telemetry_messenger: ITelemetryMessenger,
event_queue: IAgentEventQueue, event_queue: IAgentEventQueue,