mirror of
https://github.com/maxDcb/C2Core
synced 2026-06-08 15:48:01 +00:00
108a3708079a4d2a741f16218119fe4407484196
* CommandSpecs * CommandSpecs * feat(command-specs): add simple module specs * listModule * AssemblyExec * AssemblyExecTests * Minor * Inject * InjectTests * Spec modules * Folder layout * upload & download * Chisel Minidump Powershell & Script * CoffLoader DotnetExec /KerberosUseTicket PsExec PwSh ScreenShot * add artifact_filters * Minor * stabilisation * Fixes * manual test * manual test * manual test * manual test * manual test * manual test * manual test * manual test * ScreenShot png * socks5 hostname * Maj for AI * minor
Exploration C2 Core
Overview
Exploration C2 Core is the foundational submodule/package shared across all components of the Exploration Command and Control (C2) framework, including C2Implant, C2LinuxImplant and C2TeamServer. Written in C++, it provides core data structures, communication protocols, and serialization mechanisms to enable modular and cross-platform development of C2 components.
This repository is intended to be consumed from a parent repository as a shared source subtree or submodule.
Features
- Unified message format across all C2 transport channels
- Serialization and deserialization of C2 messages using nlohmann/json
- Utilities for modules development
- Designed for portability and reuse across multiple platforms
Dependencies
- nlohmann/json: Modern C++ JSON serialization library
- cpp-base64: Lightweight base64 encoding/decoding
Build and Tests
C2Core no longer exposes a standalone build entrypoint in this repository.
- The parent project owns the compiler toolchain and top-level CMake configuration.
- Module tests are enabled by the parent through
C2CORE_BUILD_TESTS. - Functional, env-driven module tests are enabled through
C2CORE_BUILD_FUNCTIONAL_TESTS. - Test strategy, flags, and ready-to-run commands are documented in TESTING.md.
Languages
C++
91.3%
CMake
5.3%
C#
2.8%
Assembly
0.5%
PowerShell
0.1%