This repository is C2 server command & control with upload, download, pe execution and shell command execution
  • Rust 61.6%
  • C++ 35.1%
  • C 2.5%
  • Python 0.5%
  • Dockerfile 0.3%
Find a file
2026-01-27 15:11:31 +01:00
.github/workflows chore: update CI 2026-01-27 10:55:35 +01:00
agent/http chore: fix https port 2026-01-27 11:46:11 +01:00
docs chore: update agent with add persistance MITRE ATT&CK T1547.001 2026-01-26 13:48:14 +01:00
xor-c2-client chore: delete binary 2026-01-27 15:11:31 +01:00
xor-c2-server chore: fix https port 2026-01-27 11:46:11 +01:00
LICENSE chore: add MIT LICENCE 2026-01-26 14:11:14 +01:00
Readme.md chore: update Readme.md 2026-01-26 12:03:43 +01:00

XOR C2

Documentation

Prérequis

  • Rust (1.70+)
  • Cargo

Installation

# Compiler le client
cd xor-c2-client
cargo build --release

# Compiler le serveur
cd ../c2-xor-server
cargo build --release

Démarrage

1. Lancer le serveur

cd c2-xor-server
cargo run
# Ou avec le binaire
./target/release/xor-c2-server

2. Lancer le client

cd xor-c2-client
cargo run
# Ou avec le binaire
./target/release/xor-c2-client

3. Lancer le serveur avec docker

docker build -t xor-c2-server .

puis lancer le container

docker run -d \
-p 8088:8088 \
-p 80:80 \
-v $(pwd)/xor_c2.db:/app/xor_c2.db \
--name c2-server \
xor-c2-server

Disclaimer

This project is for educational purposes only. Use it responsibly and ethically.