mirror of
https://github.com/Aryma-f4/Ares-mythic.git
synced 2026-06-13 02:54:13 +00:00
fix(ares): correct donut copy path in Dockerfile CMD
The copy command in the CMD directive was using a relative path that didn't match the actual container directory structure. This ensures the donut executable is copied to the correct absolute path before starting the agent.
This commit is contained in:
@@ -20,4 +20,4 @@ COPY [".", "."]
|
||||
RUN cd ares/agent_code && dotnet restore --verbosity quiet && rm donut ; cp /donut donut
|
||||
RUN cd ares/agent_code && cp COFFLoader.dll /COFFLoader.dll
|
||||
|
||||
CMD ["bash", "-c", "cp /donut ares/agent_code/donut && /venv/bin/python main.py"]
|
||||
CMD ["bash", "-c", "cp /donut /Mythic/ares/agent_code/donut && /venv/bin/python main.py"]
|
||||
|
||||
Reference in New Issue
Block a user