For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

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, category subscriptions

TaskManager

mgr_task.go

Handlers for task, browser, job, and tunnel. Each agent keeps its own priority queue

TunnelManager

mgr_tunnel.go

Tunnels and channels, pause/resume, BIND, buffer pool, stats

FrameManager

mgr_frame.go

Byte-offset, chunk-index, and stream reassembly

LogManager

mgr_logs.go

5000-entry ring buffer and a WebSocket batch

EventManager

eventing/

Pre/Post hooks, priority, mutes

DBMS

database/

SQLite. Agents, listeners, tasks, downloads, uploads, payloads, screenshots, credentials, targets, console, chat, pivots, tunnels, groups, event handlers, extender data

Extender

extender/

LoadPlugins reads a yaml config and opens the .so + its ax_file

ScriptManager

axscript/

Server-side AxScript: hooks, commands, event handlers

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