
A Simple SSH Honeypot in Golang with Approximately 100 Lines of Code
This project features a straightforward SSH honeypot, consisting of around 100 lines of code, and is implemented in the Golang programming language.
The Origin of the Name
The name is derived from the Persian proverb 'گریه کردن بر روی گور بدون مرده' (which translates to 'cry over the empty grave') and the term 'goor' (گور, meaning 'grave' in Persian).
How to Use It - A Step-by-Step Guide
To install, run the following command: go get -u -v github.com/fzerorubigd/go0r
- The configuration folder can be located at $HOME/.config/go0r, /etc/go0r, or ./config.
- Generate a host key by using ssh-keygen.
- Specify the port in the configuration file.
- Start the application with the command $GOPATH/bin/go0r.
Note: Running this application as root is risky. Instead, run it as nobody on a port greater than 1024, and then use iptables to redirect traffic from port 22 to the port used by this application.