Skip to content

sesheikholeslam/ctf-scoreboard

 
 

Repository files navigation

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 rake 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.

About

Repository for the MITRE Capture the Flag scoreboard.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 81.4%
  • HTML 14.6%
  • CSS 2.7%
  • Other 1.3%