Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

CTFd

> 安全
Open source

CTFs as you need them

6.8K stars0 likes3 views
WebsiteGitHub

About

CTFs as you need them

What is CTFd?

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.

Features

  • Create your own challenges, categories, hints, and flags from the Admin Interface
    • Dynamic Scoring Challenges
    • Unlockable challenge support
    • Challenge plugin architecture to create your own custom challenges
    • Static & Regex based flags
      • Custom flag plugins
    • Unlockable hints
    • File uploads to the server or an Amazon S3-compatible backend
    • Limit challenge attempts & hide challenges
    • Automatic bruteforce protection
  • Individual and Team based competitions
    • Have users play on their own or form teams to play together
  • Scoreboard with automatic tie resolution
    • Hide Scores from the public
    • Freeze Scores at a specific time
  • Scoregraphs comparing the top 10 teams and team progress graphs
  • Markdown content management system
  • SMTP + Mailgun email support
    • Email confirmation support
    • Forgot password support
  • Automatic competition starting and ending
  • Team management, hiding, and banning
  • Customize everything using the plugin and theme interfaces
  • Importing and Exporting of CTF data for archival
  • And a lot more...

Install

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:

Docker

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

Development

  1. Install uv and run uv sync to create a virtualenv with the dependencies installed.
    • You can also install into an existing environment with pip install -r requirements.txt, which is generated from uv.lock.
  2. Modify CTFd/config.ini to your liking.
  3. Use uv run serve.py or uv run flask run in a terminal to drop into debug mode.

Live Demo

https://demo.ctfd.io/

Support

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.

Managed Hosting

Looking to use CTFd but don't want to deal with managing infrastructure? Check out the CTFd website for managed CTFd deployments.

MajorLeagueCyber

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:

python
OAUTH_CLIENT_ID = None
OAUTH_CLIENT_SECRET = None

Credits

  • Logo by Laura Barbera
  • Theme by Christopher Thompson
  • Notification Sound by Terrence Martin

Issues· 429 open

View all issuesOpen on GitHub
  • #3108

    docker update failure

    Updated Sep 18, 2026
  • #3039

    DB migration failed from 3.8.2 to 3.8.3 or 3.8.4

    Updated Sep 1, 2026
  • #2903

    Admin panel returning 404 "file not found!" error

    Updated Aug 27, 2026
  • #2864

    [BUG] Custom Challenge (Polymorphic) Causes Persistent TypeError: o.preRender is not a function in Core Theme

    Updated Aug 18, 2026
  • #2875

    Eliminate or Simplify Team vs User Mode

    Updated Jun 25, 2026
  • #3002

    Vulnerabilities identified in ctfd/ctfd:3.8.2 docker image by trivy

    Updated Jun 25, 2026
  • #3040

    wtforms 3.3.0 coming soon

    Updated Jun 15, 2026
  • #3055

    [i18n] Fix babel.cfg extraction bug + full admin panel translation coverage

    Updated May 30, 2026
  • #2556

    v3.7.1 pymysql.err.OperationalError: (1050, "Table 'brackets' already exists")

    Updated May 21, 2026
  • #2906

    Unable to config CTFD at subpath

    Updated May 12, 2026

> Tags

Pythonctfctfdeducationflask

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 23, 2026
Category安全
PricingOpen source

> Related tools

O
OWASP ZAP
开源 Web 应用安全扫描器
O
owasp-wstg-tracker
Simple web app to track OWASP WSTG security testing progress
H
homebridge-mi-gateway-security
XiaoMi Gateway Security plugin for HomeBridge.