Go to file
2021-04-11 00:58:38 +02:00
cmd Add autocert 2021-04-10 11:24:10 +02:00
config Add autocert 2021-04-10 11:24:10 +02:00
honeypot Attempt to fix postgres stats 2021-04-10 15:18:55 +02:00
models Initial commit 2021-04-10 07:58:01 +02:00
web Set canvas size 2021-04-11 00:58:38 +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 autocert 2021-04-10 11:24:10 +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 Update Makefile 2021-04-10 12:03:13 +02:00
README.md Require TLS 1.2 or higher 2021-04-10 11:44:38 +02:00
version.go Initial commit 2021-04-10 07:58:01 +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