mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
balls
This commit is contained in:
parent
b4d8c639a0
commit
fb593af38d
6 changed files with 7 additions and 5 deletions
|
@ -36,7 +36,7 @@ func NewDNSSpoofer(s *session.Session) *DNSSpoofer {
|
|||
|
||||
spoof.AddParam(session.NewStringParameter("dns.spoof.address",
|
||||
session.ParamIfaceAddress,
|
||||
`^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$`,
|
||||
session.IPv4Validator,
|
||||
"IP address to map the domains to."))
|
||||
|
||||
spoof.AddHandler(session.NewModuleHandler("dns.spoof on", "",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue