This is the scoreboard script used in the NCSC-FI #tietoturvahaaste-hackathon / CTF. It’s a very simple script that you can set up to show scores in a competition. It requires a web server running PHP. Copy the files and folders to the directory that serves your webpages. Open in browser and F11 for full screen.
The folder ”’teams/”’ holds the teams and scoring. Create a text file for each team. A sample syntax looks like this:
Example Blue Team # First line is the team name, you can use HTML. # Subsequent lines are findings - one line per finding. Syntax is: # score; finding; non-visible comment # Icons: 1000 - Diamond, 500 - Trophy, 200 - Star, 100 - Heart # # Example: # 1500;SQLi in Web shop!; This is a comment.
For live scoring edit the text files under ”’teams/”’, the scoreboard will automatically refresh and show the changes at set intervals.
The easiest way to do this is to set the scoreboard machine to show a browser with the page open and ssh into it to edit the team files. You can set the competition deadline from the source file.
You can download the script from GitHub.