Unix-way contest checking system
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
checker
cli/tfhctl
config
counter
etc
pulse
receiver
scoreboard
steward
vexillary
.gitignore
.travis.yml
LICENSE
README.md
build.sh
contributors.txt
main.go
precommit.sh

README.md

Build Status GoDoc Coverage Status Go Report Card

Tin foil hat

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

Counter

Count scoreboard.

Checker

Manage services checkers.

Receiver

Read flags from teams.

Steward

Generic database interface.

Vexillary

Generate and check flags.

Pulse

Manage rounds.

Scoreboard

Web scoreboard.

Deploy

Depends

$ emerge dev-db/postgresql

Build

$ export GOPATH=$(realpath ./) && go get github.com/jollheef/tin_foil_hat/...

Run

$ 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