new: implemented mDNS server / spoofer (closes #542)

This commit is contained in:
evilsocket 2019-04-22 13:53:32 +02:00
commit 45951d2f82
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
13 changed files with 1237 additions and 1 deletions

View file

@ -13,7 +13,10 @@ import (
"github.com/bettercap/readline"
)
const IPv4Validator = `^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$`
const (
IPv4Validator = `^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$`
IPv6Validator = `^[:a-fA-F0-9]{6,}$`
)
type ModuleHandler struct {
sync.Mutex