Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/d69ab0d71b22fa1ce3dbeff666e6deb4917db049?narHash=sha256-k7VSqvv0r1r53nUI/IfPHCppkUAddeXn843YlAC5DR0%3D' (2025-03-05) → 'github:NixOS/nixpkgs/b6eaf97c6960d97350c584de1b6dcff03c9daf42?narHash=sha256-Txwa5uO%2BqpQXrNG4eumPSD%2BhHzzYi/CdaM80M9XRLCo%3D' (2025-03-18)
Apiary
SSH honeypot with web-frontend.
Build using nix
$ nix build .#
$ ./result/bin/apiary --version
apiary version v0.2.1-d86bc2be079c6b18a9f941752ebad45d925366d1 (go1.23.6)
Build without nix
See Dockerfile for how to build frontend and backend. Or use Dockerfile and copy binary from image.
Install
Build or download binary
$ cp ./apiary /usr/local/bin/apiary
Edit config file, should use postgres if you want persistent storage.
See example config for the different options.
$ vim /etc/apiary/apiary.toml
$ /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
Description
Languages
Go
67.7%
TypeScript
21.7%
CSS
4.8%
Nix
4.3%
Dockerfile
1%
Other
0.5%