Skip to content

Latest commit

 

History

History
52 lines (28 loc) · 2.1 KB

README.md

File metadata and controls

52 lines (28 loc) · 2.1 KB

MITRE CTF Scoreboard

Build Status Code Climate

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

gameboard

Administration Dashboard

admin dashboard

Administration Dashboard -> Add challenge

add challenge

More screenshots available on the wiki.

License

This application is licensed under Apache License 2.0.