Go to file
2021-09-17 02:01:43 +02:00
cmd Add some caching 2021-09-17 02:01:43 +02:00
config Add some caching 2021-09-17 02:01:43 +02:00
honeypot Add some caching 2021-09-17 02:01:43 +02:00
models Initial commit 2021-04-10 07:58:01 +02:00
web Stop setting content-type twice 2021-06-18 14:59:25 +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 some caching 2021-09-17 02:01:43 +02:00
Dockerfile Fix dockerfile and makefile 2021-04-10 08:12:06 +02:00
go.mod Update dependencies 2021-07-07 13:00:19 +02:00
go.sum Update dependencies 2021-07-07 13:00:19 +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 some caching 2021-09-17 02:01:43 +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