forked from p15670423/monkey
Agent: Change agent binary download endpoint
This commit is contained in:
parent
f7315b25f5
commit
ed1e152e9c
|
@ -33,7 +33,7 @@ class CachingAgentRepository(IAgentRepository):
|
||||||
@lru_cache(maxsize=None)
|
@lru_cache(maxsize=None)
|
||||||
def _download_binary_from_island(self, os: str) -> bytes:
|
def _download_binary_from_island(self, os: str) -> bytes:
|
||||||
response = requests.get( # noqa: DUO123
|
response = requests.get( # noqa: DUO123
|
||||||
f"{self._island_url}/api/agent/download/{os}",
|
f"{self._island_url}/api/agent-binaries/{os}",
|
||||||
verify=False,
|
verify=False,
|
||||||
proxies=self._proxies,
|
proxies=self._proxies,
|
||||||
timeout=MEDIUM_REQUEST_TIMEOUT,
|
timeout=MEDIUM_REQUEST_TIMEOUT,
|
||||||
|
|
Loading…
Reference in New Issue