Scripting Event Messages

What does this hook into?

Scripting tasking involves the following RESTful endpoints on an instance of Mythic. This means you need to create a new Mythic instance (i.e. mythic = Mythic(username="blah" ... ) and then call these functions like mythic.get_all_disabled_commands_profiles():
1
async def get_all_event_messages(self) -> MythicResponse:
2
"""
3
Get all of the event messages associated with Mythic for the current operation that are not deleted
4
:return:
5
"""
6
7
async def create_event_message(self, message: EventMessage) -> MythicResponse:
8
"""
9
Create new event message for the current operation
10
:return:
11
"""
12
13
async def update_event_message(self, message: EventMessage) -> MythicResponse:
14
"""
15
Update event message for the current operation
16
:return:
17
"""
18
19
async def remove_event_message(self, message: EventMessage) -> MythicResponse:
20
"""
21
Update event message for the current operation
22
:return:
23
"""
Copied!
Copy link
Edit on GitHub