Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jollheef/tin_foil_hat

Unix-way contest checking system
https://github.com/jollheef/tin_foil_hat

attack-defense ctf ctf-scoreboard go golang hacktoberfest up-for-grabs

Last synced: 6 days ago
JSON representation

Unix-way contest checking system

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/jollheef/tin_foil_hat.svg?branch=master)](https://travis-ci.org/jollheef/tin_foil_hat)
[![GoDoc](https://godoc.org/github.com/jollheef/tin_foil_hat?status.svg)](http://godoc.org/github.com/jollheef/tin_foil_hat)
[![Coverage Status](https://coveralls.io/repos/jollheef/tin_foil_hat/badge.svg?branch=master&service=github)](https://coveralls.io/github/jollheef/tin_foil_hat?branch=master)
[![Go Report Card](http://goreportcard.com/badge/jollheef/tin_foil_hat)](http://goreportcard.com/report/jollheef/tin_foil_hat)

# 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.