Agent: Pass list of servers in HostExploiter.exploit_host
This commit is contained in:
parent
b2f0b54d37
commit
8fc0d52b8b
|
@ -2,7 +2,7 @@ import logging
|
|||
import threading
|
||||
from abc import abstractmethod
|
||||
from datetime import datetime
|
||||
from typing import Dict, List
|
||||
from typing import Dict, Sequence
|
||||
|
||||
from common.event_queue import IAgentEventQueue
|
||||
from common.utils.exceptions import FailedExploitationError
|
||||
|
@ -59,7 +59,7 @@ class HostExploiter:
|
|||
def exploit_host(
|
||||
self,
|
||||
host,
|
||||
servers: List[str],
|
||||
servers: Sequence[str],
|
||||
current_depth: int,
|
||||
telemetry_messenger: ITelemetryMessenger,
|
||||
event_queue: IAgentEventQueue,
|
||||
|
|
Loading…
Reference in New Issue