Scoreboard for jeopardy-style CTFs
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.
cli/henhousectl
config
db
deb
game
scoreboard
.gitignore
.travis.yml
LICENSE
README.md
build.sh
clean_packages.py
contributors.txt Add Artemiy Kononov to contributors Dec 24, 2017
henhouse-reinit.service
henhouse.service
main.go
package.sh
precommit.sh
profiling.patch

README.md

Build Status GoDoc Coverage Status Go Report Card

Henhouse

Scoreboard for jeopardy-style CTFs.

Fundamental principle: if henhouse is not helping you make jeopardy-style CTF easily, then there is a bug in henhouse.

Donations are welcome and will go towards further development of this project. Use the wallet addresses below to donate.

BTC: 36Ks7J2a1qihJgJeJX21dNMez2BebxWzpA

Imgur image

Install

Packagecloud

packagecloud

Built for Ubuntu 16.04.

$ curl -s https://packagecloud.io/install/repositories/jollheef/henhouse/script.deb.sh | sudo bash
$ sudo apt install henhouse

Build deb package from source

$ apt install golang build-essential binutils upx-ucl
$ export GOPATH=$(realpath ./) && go get github.com/jollheef/henhouse/...
$ cd ${GOPATH}/src/github.com/jollheef/henhouse
$ ./package.sh

Development

Depends

Gentoo

$ sudo emerge dev-lang/go dev-db/postgresql

Ubuntu

$ sudo apt install golang postgresql

Build

First you need set GOPATH environment variable.

$ export GOPATH=$(realpath ./)

After you need download and build henhouse with depends.

$ go get github.com/jollheef/henhouse

Run

$ sudo psql -U postgres
postgres=# CREATE DATABASE henhouse;
postgres=# CREATE USER henhouse WITH password 'STRENGTH_PASSWORD';
postgres=# GRANT ALL privileges ON DATABASE henhouse TO henhouse;

After that you need to fix 'connection' parameter in configuration file. (And other parameters, of course)

Now, run it!

$ ${GOPATH}/bin/henhouse ${GOPATH}/src/github.com/jollheef/henhouse/config/henhouse.toml --reinit