jollheef / tin_foil_hat

Unix-way contest checking system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

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

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.

About

Unix-way contest checking system

License:GNU Affero General Public License v3.0


Languages

Language:Go 88.4%Language:Python 8.5%Language:HTML 1.7%Language:Shell 1.2%Language:CSS 0.2%