Teamserver Interface

Documentation for the Teamserver interface used in plugins (extenders) for interacting with the Adaptix C2 server.

Architecture

General Diagram

Teamserver Components

Component
File
Description

TsConnector

connector.go

HTTP/WebSocket server (gin-gonic), routing

MessageBroker

mgr_broker.go

WebSocket client management, broadcast

TaskManager

mgr_task.go

Task queue, task type handlers

TunnelManager

mgr_tunnel.go

SOCKS/PortFwd tunnels, channels, buffer pool

EventManager

eventing/

Pre/Post hooks, async events

DBMS

database/

SQLite, WAL mode, persistent storage

Extender

extender/

.so plugin loading, interface registration

Extender Types

Type
Description
Interface

Listener

Accepts connections from agents, establishes protocol

PluginListener

Agent

Agent logic: generation, parsing, commands

PluginAgent

Service

Service plugins: notifications, integrations

PluginService


Last updated