Skip to content
master
Switch branches/tags
Code
This branch is 10 commits ahead, 8 commits behind balidani:master.
Contribute
Fetch upstream

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Yet another CTF platform

Resources

License

Releases

No releases published

Packages

No packages published