Rhodawk Mythos Agent
mythos: ascend to Mythos-level — multi-agent + probabilistic + advanced tooling + RL + MCP suite + FastAPI
14b1bbe | """``exploit-generation-mcp`` — Pwntools + ROPGadget + heap + privesc.""" | |
| from __future__ import annotations | |
| from ._mcp_runtime import MCPServer | |
| from ..exploit.pwntools_synth import PwntoolsSynth | |
| from ..exploit.rop_chain import ROPChainBuilder | |
| from ..exploit.heap_exploit import HeapExploitKit | |
| from ..exploit.privesc_kb import PrivEscKB | |
| server = MCPServer("exploit-generation-mcp") | |
| _pwn = PwntoolsSynth() | |
| _rop = ROPChainBuilder() | |
| _heap = HeapExploitKit() | |
| _pe = PrivEscKB() | |
| def rop_chain(crash: dict): | |
| return _rop.build(crash) | |
| def pwntools_assemble(crash: dict, rop_chain: list): | |
| return _pwn.assemble(crash, rop_chain) | |
| def heap_template(crash: dict): | |
| return _heap.spray_template(crash) | |
| def privesc_suggest(hypotheses: list): | |
| return _pe.suggest(hypotheses) | |
| if __name__ == "__main__": # pragma: no cover | |
| server.serve_stdio() | |