From ed1e152e9c99c01b7f0ccd5ab6cb0c6bfa110753 Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Thu, 2 Jun 2022 17:32:14 +0530 Subject: [PATCH] Agent: Change agent binary download endpoint --- monkey/infection_monkey/exploit/caching_agent_repository.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/infection_monkey/exploit/caching_agent_repository.py b/monkey/infection_monkey/exploit/caching_agent_repository.py index dbe58f58f..0f86bbd9d 100644 --- a/monkey/infection_monkey/exploit/caching_agent_repository.py +++ b/monkey/infection_monkey/exploit/caching_agent_repository.py @@ -33,7 +33,7 @@ class CachingAgentRepository(IAgentRepository): @lru_cache(maxsize=None) def _download_binary_from_island(self, os: str) -> bytes: response = requests.get( # noqa: DUO123 - f"{self._island_url}/api/agent/download/{os}", + f"{self._island_url}/api/agent-binaries/{os}", verify=False, proxies=self._proxies, timeout=MEDIUM_REQUEST_TIMEOUT,