Skip to content

Service monitoring and flag redemption service. Developed to closely match Defcon22 scoring service.

License

Notifications You must be signed in to change notification settings

ShySec/scrimmage-scoreboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CTF scoreboard

Service monitoring and flag redemption service. Developed to closely match Defcon22 scoring service.

Work Flow

  1. team-server setup script registers team-token with scoreboard
  2. team-server cron script registers team service-token with scoreboard
  3. team-server cron script rotates team service-token every 5 minutes
  4. players compromise other team service-tokens and redeem at the server
  5. scoreboard checks team service availability and accessibility

Requirements

apt-get -y install git python-pip python-dev python-requests python-dateutil python-tornado
pip install --upgrade git+https://github.com/binjitsu/binjitsu.git
pip install requests[security]

Installing

git clone https://github.com/ShySec/scrimmage-scoreboard /home/ctf/scoreboard
cd /home/ctf/scoreboard
./deploy <hostname>

Running (via Rocket)

cd web2py
python web2py.py -i 0.0.0.0 -p 8080 --nogui -c config/ssl/scoreboard.server.crt -k config/ssl/scoreboard.server.key --ca-cert config/ssl/scoreboard.ca.crt

Connecting gameboxes

  1. Copy web2py/config/ssl/scrimmage_key.pub to gamebox: /home/ctf/.ssh/authorized_keys
  2. Register new team through signup dialog
  3. Register server as admin
  4. Assign server to new team

About

Service monitoring and flag redemption service. Developed to closely match Defcon22 scoring service.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published