mirror of
https://github.com/bettercap/bettercap
synced 2025-08-22 06:23:18 -07:00
Change default setting for dns.spoof.resolve_all
This commit is contained in:
parent
b325d0e4c0
commit
0ca092ba01
1 changed files with 2 additions and 2 deletions
|
@ -67,8 +67,8 @@ func NewDNSSpoofer(s *session.Session) *DNSSpoofer {
|
||||||
"TTL of spoofed DNS replies."))
|
"TTL of spoofed DNS replies."))
|
||||||
|
|
||||||
mod.AddParam(session.NewBoolParameter("dns.spoof.resolve_all",
|
mod.AddParam(session.NewBoolParameter("dns.spoof.resolve_all",
|
||||||
"true",
|
"false",
|
||||||
"If true the module will resolve every DNS request, even if it is not covered by spoof list."))
|
"If true the module will resolve every DNS request, even if it is not covered by spoof list, useful when gateway and dns is one the same ip."))
|
||||||
|
|
||||||
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.",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue