Skip to content

AnyKeyShik/CTFd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

CTFd is a CTF in a can.

Install

  1. Install Docker
  2. Install Docker compose
  3. Clone this repo
  4. Run head -c 64 /dev/urandom > .ctfd_secret_key at the root of this repo
  5. Run docker-compose up -d
  6. Wait
  7. Profit. You get CTFd at http://localhost:8000/

For production deploy

  • Change debug mode in wsgi.py
  • Change FLASK_ENV to production in .flaskenv
  • Remove expose port for ctfd container in docker compose
  • Setup nginx for SSL (TODO: Upload example config)
  • Optional but strongly recommended: CHANGE DATABASE CREDENTIALS!

About

CTFs as me need them

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 58.2%
  • JavaScript 23.5%
  • HTML 12.8%
  • Vue 3.9%
  • SCSS 1.3%
  • Shell 0.1%
  • Other 0.2%