git pull
you should run make
to get the latest mythic-cli
binary.git pull
)
sudo make
sudo ./mythic-cli start
git pull
)
sudo make
sudo ./mythic-cli start
. If you have in your .env
to not rebuild on start, then you will need to change that first.
sudo ./mythic-cli stop agentname
or sudo ./mythic-cli stop profileName
) and run the install command again. The install command should automatically determine that a previous version exists, remove it, and copy in the new components. Then you just need to either start those individual services, or restart mythic overall.
sudo ./mythic-cli update -s [agent name]
. This will fetch the tracked repo (if one exists) and check the config.json
for the latest version. Specifying -i
will automatically update if there’s an update available. Specifying sudo ./mythic-cli update -a -i
will go through to check all of your installed services for updates and install them if updates are available. sudo ./mythic-cli database reset
sudo ./mythic-cli stop
sudo docker system prune -a
git pull
)
sudo make
.
Mythic/.env
file - this file contains all of the per-install generated environment variables. There might be new environment variables leveraged by the updated Mythic, so be sure to delete this file and a new one will be automatically generated for you.
sudo ./mythic-cli start