Mythic icon indicating copy to clipboard operation
Mythic copied to clipboard

Why is there a tmp permission? Has anyone installed it successfully?

Open rustxj opened this issue 1 year ago • 6 comments

root@xt:~/Mythic# sudo ./mythic-cli install github https://github.com/MythicAgents/Athena 2024/07/23 15:07:46 [-] Error while reading in docker-compose file: Config File "docker-compose" Not Found in "[/tmp]" 2024/07/23 15:07:46 [-] Failed to read in new docker-compose.yml file: Config File "docker-compose" Not Found in "[/tmp]" 2024/07/23 15:07:46 [-] Error while reading in docker-compose file: Config File "docker-compose" Not Found in "[/tmp]" root@AMSTEAM:~/Mythic#

The tutorials on YouTube and GitHub seem to be different versions, and the tutorials in the documentation are also different from GitHub. This simple docker has become so complicated. Has anyone encountered this problem?

rustxj avatar Jul 23 '24 15:07 rustxj

root@xt:/Mythic# ./mythic-cli start 2024/07/23 15:07:46 [-] Error while reading in docker-compose file: Config File "docker-compose" Not Found in "[/tmp]" 2024/07/23 15:07:46 [-] Failed to read in new docker-compose.yml file: Config File "docker-compose" Not Found in "[/tmp]" 2024/07/23 15:07:46 [-] Error while reading in docker-compose file: Config File "docker-compose" Not Found in "[/tmp]" root@xt:/Mythic#

rustxj avatar Jul 23 '24 16:07 rustxj

image

rustxj avatar Jul 23 '24 16:07 rustxj

I don't think I've ever seen those errors before. Can you provide a bit more information?

  • what OS are you installing this on?
  • how did you install Mythic (which branch)?
  • is this a fresh install or an upgrade?

The docs (https://docs.mythic-c2.net/installation) is always the most up to date

its-a-feature avatar Jul 23 '24 16:07 its-a-feature

ALL NEW SERVER .Server with root permissions . ubuntu 24.

rustxj avatar Jul 23 '24 16:07 rustxj

Google Cloud

rustxj avatar Jul 23 '24 16:07 rustxj

Where is mythic installed and where are you running these commands from? Are you doing it all from the same context? It appears as though mythic is installed in one location, but it keeps looking to the /tmp directory. Nothing in Mythic explicitly tries to do anything with the /tmp directory, which is why that's strange. Unless that's where you installed Mythic and are running mythic-cli from? mythic-cli should be looking for docker-compose.yml in the same directory where mythic-cli is located

its-a-feature avatar Jul 23 '24 17:07 its-a-feature

If you're still having this issue, we can reopen it, but since I haven't heard from you in a while I'm going to close this for now

its-a-feature avatar Aug 30 '24 14:08 its-a-feature