This package generates CTF challenges compatible with CTF Kit, according to user-provided options such as category, difficulty, custom flag...
Use
https://github.com/OxNinja/CCG/tree/develop
for latest features (unstable)
git clone https://github.com/OxNinja/CCG && cd CCG
pip install -e .
pip install ccg
- Python 3.10
- pip
ccg new my-challenge
ccg new my-challenge --flag=mY_sUpeR_fl4G --category=web --difficulty=2
ccg new -f mY_sUpeR_fl4G -c web -s ssti -d 1
- Any challenge have an auto generated
challenge.yml
configuration fileThis file represents a challenge in a YAML format, this files is useful to get information about the challenge, for the CTF platform and for its deployment. This file is compatible with CTF Kit.
- Any challenge have a
flag.txt
validation file - If a challenge requires users to download files, they will be writen in
{challenge_path}/files/
- If a challenge requires sources, they will be stored in
{chalenge_path}/src/
The challenge will be run using its own
Dockerfile
ordocker-compose.yml
in a containerization context.
- Crypto
- Encodings (basics)
- Web template for Docker
- SQLi challenge template
Blame me and create a new question in the repository.