How to use the Scripting API
pip3 install mythic
. The current mythic package is version 0.1.1
. The code for it is public - https://github.com/MythicMeta/Mythic_Scripting
/console
in a new tab.
From here, you need to authenticate to Hasura - run sudo ./mythic-cli config get hasura_secret
on the Mythic server and you’ll get the randomized Hasura secret to log in. At this point you can browser around the scripting capabilities (API at the top) and even look at all the raw Database data via the “Data” tab.
/jupyter
in a new tab.
From here, you need to authenticate to Jupyter - run sudo ./mythic-cli config get jupyter_token
on the Mythic server to get the authentication token. By default, this is mythic
, but can be changed at any time.
You can also reference the Jupyter examples from the Mythic repo here: https://github.com/its-a-feature/Mythic/tree/master/jupyter-docker/jupyter.