A CTF platform used in IceCTF 2016
 
 
 
 
Go to file
Fox Wilson 3e2590090d rm cache.py, no longer needed 2015-11-08 03:20:13 -05:00
templates more UI changes 2015-11-08 03:19:52 -05:00
.gitignore initial commit 2015-11-08 01:10:26 -05:00
README.md add installation docs, fix #1 2015-11-08 01:38:51 -05:00
app.py more UI changes 2015-11-08 03:19:52 -05:00
config.py initial commit 2015-11-08 01:10:26 -05:00
ctftool initial commit 2015-11-08 01:10:26 -05:00
database.py initial commit 2015-11-08 01:10:26 -05:00
utils.py more UI changes 2015-11-08 03:19:52 -05:00

README.md

ctf-platform

This is the platform for TJCTF. It's (what I think is) the best of the MITRE, CTFd, and picoCTF platforms rolled up into a Flask application.

Installation

You're going to want to edit config.py. The variable names should be fairly self-explanatory.

You should edit line 2 of database.py, unless you want to use SQLite. This uses Peewee, so you can use any Peewee-supported database.

You can create some problem YAML files that look like this:

name: Problem Name
category: Binary
description: binary binary binary binary. i love binary
points: 250
flags: "flag{whatever}"

Then add them with ./ctftool add-problem problem.yml and it'll get put in the database.

Run python app.py and you have a server running. You probably want to deploy it with gunicorn or similar, long-term.