mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
fix: do not probe while arp.spoofing, fixes arp.spoof on the whole subnet
This commit is contained in:
parent
a465116160
commit
e9fa015962
1 changed files with 2 additions and 2 deletions
|
@ -140,10 +140,10 @@ func (p *ArpSpoofer) Start() error {
|
|||
gwIP := p.Session.Gateway.IP
|
||||
myMAC := p.Session.Interface.HW
|
||||
for p.Running() {
|
||||
p.sendArp(gwIP, myMAC, true, true)
|
||||
p.sendArp(gwIP, myMAC, true, false)
|
||||
for _, address := range neighbours {
|
||||
if !p.Session.Skip(address) {
|
||||
p.sendArp(address, myMAC, true, true)
|
||||
p.sendArp(address, myMAC, true, false)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue