Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jollheef/tin_foil_hat
- Owner: jollheef
- License: agpl-3.0
- Created: 2015-10-05T20:55:30.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-12-09T21:34:08.000Z (about 6 years ago)
- Last Synced: 2024-10-28T15:27:29.040Z (about 2 months ago)
- Topics: attack-defense, ctf, ctf-scoreboard, go, golang, hacktoberfest, up-for-grabs
- Language: Go
- Size: 771 KB
- Stars: 4
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.