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

https://github.com/jollheef/henhouse

Scoreboard for jeopardy-style CTFs
https://github.com/jollheef/henhouse

ctf ctf-scoreboard go golang hacktoberfest jeopardy up-for-grabs

Last synced: 3 months ago
JSON representation

Scoreboard for jeopardy-style CTFs

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/jollheef/henhouse.svg?branch=master)](https://travis-ci.org/jollheef/henhouse)
[![Deb Package](https://img.shields.io/badge/deb-packagecloud.io-844fec.svg)](https://packagecloud.io/jollheef/henhouse)
[![GoDoc](https://godoc.org/github.com/jollheef/henhouse?status.svg)](http://godoc.org/github.com/jollheef/henhouse)
[![Coverage Status](https://coveralls.io/repos/jollheef/henhouse/badge.svg?branch=master&service=github)](https://coveralls.io/github/jollheef/henhouse?branch=master)
[![Go Report Card](http://goreportcard.com/badge/jollheef/henhouse)](http://goreportcard.com/report/jollheef/henhouse)

# 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](https://i.imgur.com/uMCFPw7.png)

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