mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
fix: default dns.spoof.domains to *
This commit is contained in:
parent
cb57bf7dc2
commit
8d7f761138
2 changed files with 4 additions and 5 deletions
|
@ -1,6 +1,3 @@
|
|||
# custom prompt for ipv6 ... this is cool, i know :)
|
||||
set $ {by}{fw}{cidr} {fb}> {env.iface.ipv6} {reset} {bold}» {reset}
|
||||
|
||||
# let's spoof Microsoft and Google ^_^
|
||||
set dns.spoof.domains microsoft.com, google.com
|
||||
set dhcp6.spoof.domains microsoft.com, google.com
|
||||
|
@ -17,6 +14,8 @@ dhcp6.spoof on
|
|||
# send spoofed DNS replies ^_^
|
||||
dns.spoof on
|
||||
|
||||
# clear the prompt
|
||||
# set a custom prompt for ipv6
|
||||
set $ {by}{fw}{cidr} {fb}> {env.iface.ipv6} {reset} {bold}» {reset}
|
||||
# clear the events buffer and the screen
|
||||
events.clear
|
||||
clear
|
||||
|
|
|
@ -30,7 +30,7 @@ func NewDNSSpoofer(s *session.Session) *DNSSpoofer {
|
|||
}
|
||||
|
||||
spoof.AddParam(session.NewStringParameter("dns.spoof.domains",
|
||||
"microsoft.com, goole.com, facebook.com, apple.com, twitter.com",
|
||||
"*",
|
||||
``,
|
||||
"Comma separated values of domain names to spoof."))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue