Scripting Files

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.download_file():

async def download_file(self, file: FileMeta) -> bytes:
Download a file that is either scheduled for upload or is finished downloading