henhouse

command module
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2018 License: AGPL-3.0 Imports: 13 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cli

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL