Go to file
2021-06-18 14:48:59 +02:00
cmd Add func to return full version string 2021-04-12 08:58:39 +02:00
config Make connection throttle configurable 2021-04-11 02:24:39 +02:00
honeypot Fix unmarshalling of ip from postgres 2021-04-14 18:01:11 +02:00
models Initial commit 2021-04-10 07:58:01 +02:00
web Add search 2021-04-14 17:27:03 +02:00
.dockerignore Initial commit 2021-04-10 07:58:01 +02:00
.gitignore Initial commit 2021-04-10 07:58:01 +02:00
apiary.service Add service file 2021-04-10 09:25:36 +02:00
apiary.toml Add query to api 2021-04-13 07:30:07 +02:00
Dockerfile Fix dockerfile and makefile 2021-04-10 08:12:06 +02:00
go.mod Use different package for geoip 2021-04-10 12:12:08 +02:00
go.sum Use different package for geoip 2021-04-10 12:12:08 +02:00
Makefile Fix makefile for updated version stuff 2021-04-14 17:32:31 +02:00
README.md Require TLS 1.2 or higher 2021-04-10 11:44:38 +02:00
version.go Add compiler version to version string 2021-06-18 14:48:59 +02:00

Apiary

SSH honeypot with web-frontend.

TODO

  • Fix janky ass Makefile

Requirements

  • go >= 1.16

Requires a postgres database if you want data to persist through server restart.

Build

# make frontend
# make build

Install

# Build and install
INSTALL_PREFIX=/ sudo make install

# Edit config file
vim /etc/apiary/apiary.toml

# Run
/usr/bin/apiary serve
# 2021-04-10T11:27:42.783+0200    INFO   APP     Starting SSH server
# 2021-04-10T11:27:42.783+0200    INFO   APP     Starting web server