Unix-way contest checking system.
Fundamental principle: if tin_foil_hat is not helping you make attack-defence CTF easily, then there is a bug in tin_foil_hat.
Components
< 8B28 a id="user-content-components" class="anchor" aria-label="Permalink: Components" href="#components">Count scoreboard.
Manage services checkers.
Read flags from teams.
Generic database interface.
Generate and check flags.
Manage rounds.
Web scoreboard.
$ emerge dev-db/postgresql
$ export GOPATH=$(realpath ./) && go get github.com/jollheef/tin_foil_hat/...
$ sudo psql -U postgres
postgres=# CREATE DATABASE tinfoilhat;
postgres=# CREATE USER tfh WITH password 'STRENGTH_PASSWORD';
postgres=# GRANT ALL privileges ON DATABASE tinfoilhat TO tfh;
After that you need to fix 'connection' parameter in configuration file. (And other parameters, of course)
Now, run it!
$ ./bin/tin_foil_hat ./src/github.com/jollheef/tin_foil_hat/config/tinfoilhat.toml --reinit