mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 18:57:17 -07:00
fix: fixed a dns.spoof.domains bug (fixes #408)
This commit is contained in:
parent
f687c9bb76
commit
9619cd62de
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ func (s *DNSSpoofer) Configure() error {
|
|||
return err
|
||||
}
|
||||
|
||||
s.Hosts = Hosts{}
|
||||
for _, domain := range domains {
|
||||
s.Hosts = append(s.Hosts, NewHostEntry(domain, address))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue