Agent: Remove no longer needed `island_url` parameter from CachingAgentBinaryRepository
This commit is contained in:
parent
1355c038b5
commit
e23c6de745
|
@ -15,8 +15,7 @@ class CachingAgentBinaryRepository(IAgentBinaryRepository):
|
|||
request is actually sent to the island for each requested binary.
|
||||
"""
|
||||
|
||||
def __init__(self, island_url: str, island_api_client: IIslandAPIClient):
|
||||
self._island_url = island_url
|
||||
def __init__(self, island_api_client: IIslandAPIClient):
|
||||
self._lock = threading.Lock()
|
||||
self._island_api_client = island_api_client
|
||||
|
||||
|
|
|
@ -315,7 +315,6 @@ class InfectionMonkey:
|
|||
puppet.load_plugin("ssh", SSHFingerprinter(), PluginType.FINGERPRINTER)
|
||||
|
||||
agent_binary_repository = CachingAgentBinaryRepository(
|
||||
island_url=f"https://{self._control_client.server_address}",
|
||||
island_api_client=self.island_api_client,
|
||||
)
|
||||
exploit_wrapper = ExploiterWrapper(
|
||||
|
|
Loading…
Reference in New Issue