.py
file with your command class and make sure it gets imported before mythic_container.mythic_service.start_and_run_forever
is called so that the container is aware of the command before syncing over.This new file should match the requirements of the rest of the commandsOnce you’re done making edits, restart your payload type container via: ./mythic-cli start [payload type name]
. This will restart just that one payload type container, reloading the python files automatically, and re-syncing the data with Mythic.