Installation Server
The source code of AdaptixС2 is available on github. The main branch is a stable version and does not contain the latest changes.
git clone https://github.com/Adaptix-Framework/AdaptixC2.git
cd AdaptixC2Preinstall
To build Server and Extenders, you need to install additional dependencies. Please note that golang 1.25.4 is required to compile and run AdaptixServer (and special patched golang for win7 gopher agent).
For Linux, you can use a specially prepared script that will install and configure the necessary packages for both the server and client parts. Link — pre_install_linux_all.sh

sudo apt install mingw-w64 make gcc g++ g++-mingw-w64
wget https://go.dev/dl/go1.25.4.linux-amd64.tar.gz -O /tmp/go1.25.4.linux-amd64.tar.gz
sudo rm -rf /usr/local/go /usr/local/bin/go
sudo tar -C /usr/local -xzf /tmp/go1.25.4.linux-amd64.tar.gz
sudo ln -s /usr/local/go/bin/go /usr/local/bin/go
# for windows 7 support by gopher agent
git clone https://github.com/Adaptix-Framework/go-win7 /tmp/go-win7
sudo mv /tmp/go-win7 /usr/lib/Build on Server
AdaptixServer and Extenders (goplugins) must be built with the same version of the golang package.

All compiled files will be located in the dist directory.

Build in Docker
The compiled files will be located in the AdaptixServer/server-dist directory.
make docker-build-server
Build server only
make docker-build-extenders
Build extenders only
make docker-build-ext
Build server and extenders together
make docker-up
Server runtime container
Added Docker cleanup targets for better build artifact management:
docker-clean: Remove Docker containers and images (builders only)Removes containers and images for
build-server,build-extenders, andbuild-server-extprofilesPreserves runtime container
docker-clean-all: Remove all Docker artifacts (containers, images, volumes, networks)Removes all build profiles including runtime
Cleans build output directories (
AdaptixServer/server-dist)Complete cleanup for fresh rebuilds
Last updated