MITRE CTF Scoreboard
MITRE CTF Scoreboard is a fully featured CTF platform with scoreboard and registration application built with Ruby on Rails. It is used for MITRE Capture the Flag competition website.
Installation
Development
See wiki instructions for creating a local development installation of the scoreboard.
Testing
Once you have installed the application using the development steps shown above, the tests can be run by running bundle exec rails test
.
To generate a local code coverage report in coverage/index.html
set the $LOCAL_COVERAGE
environment variable: export LOCAL_COVERAGE=true
Production
Follow the wiki instructions for creating a production installation of the scoreboard.
Automated Emails
Automated emails can be setup by adding the crontab:
min hour * * * /bin/bash -l -c 'cd /path/to/ctf-scoreboard && RAILS_ENV=production bundle exec rake email:automated_email --silent'
Where min
, hour
, and path/to/ctf-scoreboard
are replaced with the values you prefer.
If the project is being hosted on Heroku a daily task can be created using the Heroku Scheduler to run rake email:automated_email
Screenshots
Gameboard
Administration Dashboard
Administration Dashboard -> Add challenge
wiki.
More screenshots available on theLicense
This application is licensed under Apache License 2.0.