Skip to content
Yet another CTF platform
Branch: master
Clone or download
Pull request Compare This branch is 10 commits ahead, 8 commits behind balidani:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
static
templates
.gitignore
LICENSE
README.md
config.json.sample
lang.json
requirements.txt
server.py
task_import.py
tasks.json

README.md

tinyctf-platform

tinyctf-platform is yet another open-source (jeopardy style) CTF platform. It is relatively easy to set up and modify. Hopefully it will become even better over time, with other people contributing.

Features

  • Public scoreboard
  • JSON scoreboard at /scoreboard.json
  • Automatic start/end of CTF based on timestamps
  • CSRF protection (can be disabled)
  • Username validation (regex ftw)

alt text

Deployment

To deploy tinyctf-platform on an EC2 instance, execute the following commands:

Become root, upgrade

sudo su
yum upgrade -y

Install some prerequisites

yum install -y git
yum install -y gcc-c++
yum install -y python-devel

Install Flask and dataset

easy_install Flask
easy_install dataset
exit

Clone the repo

git clone https://github.com/balidani/tinyctf-platform.git
cd tinyctf-platform/

Import the tasks

python task_import.py

Start the server

python server.py

Note: Flask should run on top of a proper web server if you plan to have many players.

Caveats

  • The platform does not support tasks with the same score and category right now
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.