A simple telnet and ssh (for now) honeypot with a web interface.
With default values
ADMIN_ADDR=localhost:7878- where to listen for the web interfaceHONEYPOT_DB=honeypot.db- sqlite databasse locationTELNET_PORT=23- poort to listen for telnet connectionsIP2LOCATION_DB=IP2LOCATION-LITE-DB11.IPV6.BINHONEYPOT_SSH_PORT=2222- port to listen for ssh connections
To build the docker container
$ docker buildx build --platform linux/amd64 .Supply IP2LOCATION-LITE-DB11.IPV6.BIN in the main directory of the project.
Then run
$ go run .to run the backend
Then go to honeypot-frontend and run
$ npm i # install dependencies
$ npm run dev