A honeypot server written in Go.
go-HoneyPot listens on specified ports for any communication. When an attacker attempts to send data on one of these ports it will log relevant details to a database.
-
git clone https://github.com/Mojachieee/go-HoneyPot
-
cd go-HoneyPot
-
go get
-
Create a config.json file. Formatted as follows:
{
"db": {
"host": "myhostname.com",
"name": "mydatabasename",
"table": "mytablename",
"username": "mydatabaseuser",
"password": "mydatabasepassword"
},
"tcp": {
"ports": [
"1220", "5777"
]
}
}
go run honeypot.go