Skip to content

xctf-io/chalgen

Repository files navigation

Open in GitHub Codespaces

chalgen

chalgen generates challenges and evidence for CTFs using a tree based format

Past Competitions

Competition Writeup Source Code
MCPS HSF 2023 Writeup Source Code

Prerequisites

Note: This is not required for Github Codespaces. Everything will be installed automatically.

  • Install ffmpeg from here
  • Install Docker from here
  • Install kubectl from here
  • Install minikube from here (only required for local testing)
  • Install python3 from here
  • Install go from here
  • Make sure to clone this repository with git clone --recurse-submodules to get the submodules
pip install -r requirements.txt

Simple Usage

Run the application:

python chalgen.py --help

Example challenge generator command

python main.py chal gen -c tests/test_ctf/base64/chal.yaml

For a more detailed explanation of the commands available, see our docs.

Todos

We have some TODOs here. These are challenge ideas we have not implemented yet.