CTFs as you need them
CTFd is a Capture The Flag framework focusing on ease of use and customizability. It comes with everything you need to run a CTF and it's easy to customize with plugins and themes.
The easiest way to get started is to use a Hosted CTFd instance.
For self-hosted installations, check out the CTFd docs for deployment options and the Getting Started guide.
Below is a summary of a few options for self-hosting CTFd:
You can use Docker Compose with the following command from the source repository:
docker compose up
To use the auto-generated Docker images directly:
docker run -p 8000:8000 -it ctfd/ctfd
uv sync to create a virtualenv with the dependencies installed.pip install -r requirements.txt, which is generated from uv.lock.uv run serve.py or uv run flask run in a terminal to drop into debug mode.To get basic support, you can join the MajorLeagueCyber Community:
If you prefer commercial support or have a special project, feel free to contact us.
Looking to use CTFd but don't want to deal with managing infrastructure? Check out the CTFd website for managed CTFd deployments.
CTFd is heavily integrated with MajorLeagueCyber. MajorLeagueCyber (MLC) is a CTF stats tracker that provides event scheduling, team tracking, and single sign on for events.
By registering your CTF event with MajorLeagueCyber users can automatically login, track their individual and team scores, submit writeups, and get notifications of important events.
To integrate with MajorLeagueCyber, simply register an account, create an event, and install the client ID and client secret in the relevant portion in CTFd/config.py or in the admin panel:
OAUTH_CLIENT_ID = None
OAUTH_CLIENT_SECRET = Nonedocker update failure
DB migration failed from 3.8.2 to 3.8.3 or 3.8.4
Admin panel returning 404 "file not found!" error
[BUG] Custom Challenge (Polymorphic) Causes Persistent TypeError: o.preRender is not a function in Core Theme
Eliminate or Simplify Team vs User Mode
Vulnerabilities identified in ctfd/ctfd:3.8.2 docker image by trivy
wtforms 3.3.0 coming soon
[i18n] Fix babel.cfg extraction bug + full admin panel translation coverage
v3.7.1 pymysql.err.OperationalError: (1050, "Table 'brackets' already exists")
Unable to config CTFD at subpath