C2AdaptixTool — C2 Infrastructure
C2AdaptixTool provides Adaptix C2 command and control integration for post-exploitation operations — listeners, agents, tunnels, and remote commands.
Actions
| Action | Purpose |
|---|---|
list-listeners | Show active C2 listeners |
list-agents | Show connected agents |
list-tunnels | Show active tunnels |
command | Send command to agent |
deploy | Deploy new agent payload |
C2 Capabilities
- Listeners: HTTP/S, DNS, SMB, TCP bind/reverse
- Agents: Platform-specific payloads (Windows, Linux, macOS)
- Tunnels: SOCKS proxy, port forwarding, reverse tunnels
- Commands: Shell, PowerShell, execute-assembly, BOF execution
Fallback C2
When Adaptix is unavailable, AllySec Forge automatically falls back to:
- Discord C2 — stealth-execution-engine/discord-c2.py
- DNS Tunneling — stealth-execution-engine/dns-tunnel.py
- Sliver C2 planner — stealth-execution-engine/sliver-plan.py
- Cloudflare C2 front — stealth-execution-engine/cf-c2-front.py
Usage
Listing listeners
C2AdaptixTool(action="list-listeners")Listing connected agents
C2AdaptixTool(action="list-agents")Sending command to agent
C2AdaptixTool(
action="command",
args='{"agentId":"agent-001","command":"shell whoami"}'
)Deploying a payload
C2AdaptixTool(
action="deploy",
args='{"platform":"linux","arch":"amd64","format":"elf"}'
)