Developer Guide
Everything you need to extend TantoC2 with custom agents, modules, transports, and tools.
This guide is written for developers who want to extend TantoC2 — whether that means building a new C2 agent, writing a compiled payload module, implementing a custom transport channel, or creating a network tool.
Who This Section Is For#
- Developers building or porting C2 agents to TantoC2
- Payload authors writing BOF/shellcode/DLL modules
- Infrastructure engineers implementing custom transports (DNS, named pipes, domain fronting)
- Automation engineers integrating TantoC2 via the REST API
In This Section#
| Page | What You Will Learn |
|---|---|
| Extension Points | What you can build, how the plugin system works, where to start |
| Building Agent Packages | Define an agent type — crypto, wire protocol, capabilities, build pipeline |
| Building Agent Modules | Create compiled payloads (BOF, shellcode, DLL) loadable by agents |
| Building Tool Plugins | Build a direct-protocol tool module (SSH, SMB, LDAP) |
| Declaring Command Schemas | Structured argument definitions that drive CLI completions, web forms, and validation |
| Building Transport Plugins | Implement a custom C2 listener channel |
| Wire Protocol Reference | Binary envelope, crypto envelope, and message pipeline internals |
| API Reference | REST API, WebSocket events, and client library |
| Plugin Packaging | Package and distribute plugins as Python wheels |