Stayer / tinyctf-platform

Yet another CTF platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

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
yum install -y sqlite3

Install Flask and dataset

easy_install Flask
easy_install dataset
easy_install python-dateutil
easy_install bleach
exit

Clone the repo

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

Build the database

./buildTables.sh

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

  • CSRF is currently not addressed

About

Yet another CTF platform

License:MIT License


Languages

Language:JavaScript 55.8%Language:Python 22.2%Language:HTML 15.9%Language:CSS 5.2%Language:Shell 0.9%