This commit is contained in:
evilsocket 2018-01-13 13:33:04 +01:00
commit fb593af38d
6 changed files with 7 additions and 5 deletions

View file

@ -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", "",