36 lines
539 B
Markdown
36 lines
539 B
Markdown
# 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
|
|
|
|
```text
|
|
# make frontend
|
|
# make build
|
|
```
|
|
|
|
## Install
|
|
|
|
```text
|
|
# 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
|
|
```
|