mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 21:13:18 -07:00
new: implemented mDNS server / spoofer (closes #542)
This commit is contained in:
parent
385c8e3926
commit
45951d2f82
13 changed files with 1237 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue