A platform to host as many CTF contests and problems as you want.
- Admin Interface to add Problems, Contests, Organizations, etc.
- Contests for individuals, or enable participants to team up
- Public Problems for everyone to view and solve outside of contests
Installation instructions are currently a work in progress. Feel free to join our Discord if you have any questions.
- Clone the repository
- Run
pip install poetry
- Run
poetry install
- Run
poetry shell
- Create a file called config.py with the contents of Docker Setup #2
- Run
python manage.py migrate && python manage.py createsuperuser
- To start the server, run
python manage.py runserver
- Go to mCTF/docker_config.py, Set DEBUG to True and root to "http://localhost:28730" as well as deleting import config2.
- docker build -t mctf .
- docker run -p 28730:28730 mctf
- docker exec -it <container_id> /bin/bash
. .venv/bin/activate
python manage.py migrate
python manage.py createsuperuser
- in the docker container, go to /public/scss and delete all *.css files (
rm *.css
)
- If Django hangs while booting (e.g. no response comes from uWSGI, or worker is killed frequently in Gunicorn), it may be hanging trying to connect to the cluster.