Warning
This project is currently in testing until version 0.1.0 is released.
Scriptable alias command augmentations in Mythic using Python.
Install using the mythic-cli
program on an existing Mythic system.
./mythic-cli install github https://github.com/MythicAgents/forgescript
Embedded scripting interface for registering custom command aliases with arbitrary agents.
An example script which creates an alias command forgescript_whoami
which will run the builtin whoami
command for an agent.
import forgescript
def whoami(task: forgescript.Task) -> forgescript.AliasedCommand:
return forgescript.AliasedCommand("whoami")
forgescript.register_alias(
"forgescript_whoami",
whoami,
description="Runs the builtin whoami command",
author="MEhrn00",
)
More extended examples can be found in the examples/
directory.
Command | Syntax | Description |
---|---|---|
forgescript_load | forgescript_load [popup] |
Load a script bundle into Mythic |