Implemented tcp honeypot

This commit is contained in:
Mario
2022-07-03 17:15:38 +02:00
parent 39a23b0075
commit 882066f0a6
8 changed files with 51 additions and 30 deletions

View File

@ -52,10 +52,11 @@ type Protocol int
const (
HTTP Protocol = iota
SSH
TCP
)
func (status Protocol) String() string {
return [...]string{"HTTP", "SSH"}[status]
return [...]string{"HTTP", "SSH", "TCP"}[status]
}
type Status int