mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 21:13:18 -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
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
s.Hosts = Hosts{}
|
||||||
for _, domain := range domains {
|
for _, domain := range domains {
|
||||||
s.Hosts = append(s.Hosts, NewHostEntry(domain, address))
|
s.Hosts = append(s.Hosts, NewHostEntry(domain, address))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue