mirror of
https://github.com/cedev-1/C2-XOR.git
synced 2026-09-17 01:36:13 +00:00
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%
| .github/workflows | ||
| agent/http | ||
| docs | ||
| xor-c2-client | ||
| xor-c2-server | ||
| LICENSE | ||
| Readme.md | ||
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.