Skip to content

jollheef/henhouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f068576 · Dec 24, 2018
Nov 27, 2016
Dec 23, 2018
Nov 25, 2016
Oct 31, 2017
Nov 12, 2017
Dec 24, 2018
Nov 15, 2016
Sep 11, 2018
May 25, 2016
Dec 9, 2018
Nov 20, 2016
Dec 1, 2016
Dec 24, 2018
Nov 22, 2016
Nov 22, 2016
Dec 23, 2018
Oct 4, 2017
Oct 2, 2016
Oct 2, 2016

Repository files navigation

Build Status Deb Package 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.

Imgur image

Install

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