Skip to content

jollheef/tin_foil_hat

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
etc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.