mirror of
https://github.com/bettercap/bettercap
synced 2025-07-11 15:46:59 -07:00
new: basic ipv6 support
This commit is contained in:
parent
d0b5c34763
commit
bef4c6abaa
8 changed files with 115 additions and 35 deletions
|
@ -16,6 +16,7 @@ import (
|
|||
const (
|
||||
IPv4Validator = `^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$`
|
||||
IPv6Validator = `^[:a-fA-F0-9]{6,}$`
|
||||
IPValidator = `^[\.:a-fA-F0-9]{6,}$`
|
||||
)
|
||||
|
||||
type ModuleHandler struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue