Service monitoring and flag redemption service. Developed to closely match Defcon22 scoring service.
- team-server setup script registers team-token with scoreboard
- team-server cron script registers team service-token with scoreboard
- team-server cron script rotates team service-token every 5 minutes
- players compromise other team service-tokens and redeem at the server
- scoreboard checks team service availability and accessibility
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]
git clone https://github.com/ShySec/scrimmage-scoreboard /home/ctf/scoreboard
cd /home/ctf/scoreboard
./deploy <hostname>
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
- Copy
web2py/config/ssl/scrimmage_key.pub
to gamebox:/home/ctf/.ssh/authorized_keys
- Register new team through signup dialog
- Register server as admin
- Assign server to new team