Update dns_spoof.go

This commit is contained in:
buffermet 2020-03-05 08:44:12 +10:00 committed by GitHub
parent 2f14254c4c
commit 51dfd86898
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,7 @@ func NewDNSSpoofer(s *session.Session) *DNSSpoofer {
mod.AddParam(session.NewStringParameter("dns.spoof.ttl", mod.AddParam(session.NewStringParameter("dns.spoof.ttl",
"1024", "1024",
"^[0-9]+$", "^[0-9]+$",
"TTL of spoofed DNS replies in seconds.")) "TTL of spoofed DNS replies."))
mod.AddHandler(session.NewModuleHandler("dns.spoof on", "", mod.AddHandler(session.NewModuleHandler("dns.spoof on", "",
"Start the DNS spoofer in the background.", "Start the DNS spoofer in the background.",