{"id":13481449,"url":"https://github.com/CTFd/CTFd","last_synced_at":"2025-03-27T12:30:51.737Z","repository":{"id":25256035,"uuid":"28681142","full_name":"CTFd/CTFd","owner":"CTFd","description":"CTFs as you need them","archived":false,"fork":false,"pushed_at":"2024-10-25T22:25:15.000Z","size":40192,"stargazers_count":5648,"open_issues_count":339,"forks_count":2090,"subscribers_count":115,"default_branch":"master","last_synced_at":"2024-10-29T14:56:16.223Z","etag":null,"topics":["ctf","ctfd","education","flask","security"],"latest_commit_sha":null,"homepage":"https://ctfd.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CTFd.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-01-01T05:36:55.000Z","updated_at":"2024-10-29T13:29:29.000Z","dependencies_parsed_at":"2023-01-14T03:15:07.158Z","dependency_job_id":"3b25c326-bc7a-4c05-befd-4bf3dbc16d72","html_url":"https://github.com/CTFd/CTFd","commit_stats":null,"previous_names":[],"tags_count":62,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CTFd%2FCTFd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CTFd%2FCTFd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CTFd%2FCTFd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CTFd%2FCTFd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CTFd","download_url":"https://codeload.github.com/CTFd/CTFd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245844836,"owners_count":20681786,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ctf","ctfd","education","flask","security"],"created_at":"2024-07-31T17:00:51.924Z","updated_at":"2025-03-27T12:30:51.705Z","avatar_url":"https://github.com/CTFd.png","language":"Python","readme":"# ![](https://github.com/CTFd/CTFd/blob/master/CTFd/themes/core/static/img/logo.png?raw=true)\n\n![CTFd MySQL CI](https://github.com/CTFd/CTFd/workflows/CTFd%20MySQL%20CI/badge.svg?branch=master)\n![Linting](https://github.com/CTFd/CTFd/workflows/Linting/badge.svg?branch=master)\n[![MajorLeagueCyber Discourse](https://img.shields.io/discourse/status?server=https%3A%2F%2Fcommunity.majorleaguecyber.org%2F)](https://community.majorleaguecyber.org/)\n[![Documentation Status](https://api.netlify.com/api/v1/badges/6d10883a-77bb-45c1-a003-22ce1284190e/deploy-status)](https://docs.ctfd.io)\n\n## What is CTFd?\n\nCTFd 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.\n\n![CTFd is a CTF in a can.](https://github.com/CTFd/CTFd/blob/master/CTFd/themes/core/static/img/scoreboard.png?raw=true)\n\n## Features\n\n- Create your own challenges, categories, hints, and flags from the Admin Interface\n  - Dynamic Scoring Challenges\n  - Unlockable challenge support\n  - Challenge plugin architecture to create your own custom challenges\n  - Static \u0026 Regex based flags\n    - Custom flag plugins\n  - Unlockable hints\n  - File uploads to the server or an Amazon S3-compatible backend\n  - Limit challenge attempts \u0026 hide challenges\n  - Automatic bruteforce protection\n- Individual and Team based competitions\n  - Have users play on their own or form teams to play together\n- Scoreboard with automatic tie resolution\n  - Hide Scores from the public\n  - Freeze Scores at a specific time\n- Scoregraphs comparing the top 10 teams and team progress graphs\n- Markdown content management system\n- SMTP + Mailgun email support\n  - Email confirmation support\n  - Forgot password support\n- Automatic competition starting and ending\n- Team management, hiding, and banning\n- Customize everything using the [plugin](https://docs.ctfd.io/docs/plugins/overview) and [theme](https://docs.ctfd.io/docs/themes/overview) interfaces\n- Importing and Exporting of CTF data for archival\n- And a lot more...\n\n## Install\n\n1. Install dependencies: `pip install -r requirements.txt`\n   1. You can also use the `prepare.sh` script to install system dependencies using apt.\n2. Modify [CTFd/config.ini](https://github.com/CTFd/CTFd/blob/master/CTFd/config.ini) to your liking.\n3. Use `python serve.py` or `flask run` in a terminal to drop into debug mode.\n\nYou can use the auto-generated Docker images with the following command:\n\n`docker run -p 8000:8000 -it ctfd/ctfd`\n\nOr you can use Docker Compose with the following command from the source repository:\n\n`docker compose up`\n\nCheck out the [CTFd docs](https://docs.ctfd.io/) for [deployment options](https://docs.ctfd.io/docs/deployment/installation) and the [Getting Started](https://docs.ctfd.io/tutorials/getting-started/) guide\n\n## Live Demo\n\nhttps://demo.ctfd.io/\n\n## Support\n\nTo get basic support, you can join the [MajorLeagueCyber Community](https://community.majorleaguecyber.org/): [![MajorLeagueCyber Discourse](https://img.shields.io/discourse/status?server=https%3A%2F%2Fcommunity.majorleaguecyber.org%2F)](https://community.majorleaguecyber.org/)\n\nIf you prefer commercial support or have a special project, feel free to [contact us](https://ctfd.io/contact/).\n\n## Managed Hosting\n\nLooking to use CTFd but don't want to deal with managing infrastructure? Check out [the CTFd website](https://ctfd.io/) for managed CTFd deployments.\n\n## MajorLeagueCyber\n\nCTFd is heavily integrated with [MajorLeagueCyber](https://majorleaguecyber.org/). MajorLeagueCyber (MLC) is a CTF stats tracker that provides event scheduling, team tracking, and single sign on for events.\n\nBy registering your CTF event with MajorLeagueCyber users can automatically login, track their individual and team scores, submit writeups, and get notifications of important events.\n\nTo 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:\n\n```python\nOAUTH_CLIENT_ID = None\nOAUTH_CLIENT_SECRET = None\n```\n\n## Credits\n\n- Logo by [Laura Barbera](http://www.laurabb.com/)\n- Theme by [Christopher Thompson](https://github.com/breadchris)\n- Notification Sound by [Terrence Martin](https://soundcloud.com/tj-martin-composer)\n","funding_links":[],"categories":["Python","\u003ca id=\"tag-internet\" href=\"#tag-internet\"\u003eInternet\u003c/a\u003e","\u003ca id=\"c7f35432806520669b15a28161a4d26a\"\u003e\u003c/a\u003eCTF\u0026\u0026HTB","Python (144)","Python (1887)","White Zone Tooling","education","Platforms"],"sub_categories":["\u003ca id=\"e64cedb2d91d06b3eeac5ea414e12b27\"\u003e\u003c/a\u003eCTF"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCTFd%2FCTFd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCTFd%2FCTFd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCTFd%2FCTFd/lists"}