Go to file
2021-04-11 22:36:06 +02:00
cmd Add autocert 2021-04-10 11:24:10 +02:00
config Make connection throttle configurable 2021-04-11 02:24:39 +02:00
honeypot Make connection throttle configurable 2021-04-11 02:24:39 +02:00
models Initial commit 2021-04-10 07:58:01 +02:00
web Fix missing empty line 2021-04-11 22:36:06 +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 Make connection throttle configurable 2021-04-11 02:24:39 +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