mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 18:57:17 -07:00
Fix arp.spoof not sending replies
Fixed arp.spoof not sending replies and timing out when asked to shut down.
This commit is contained in:
parent
c1770b3aa6
commit
0637451390
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ func (mod *ArpSpoofer) Start() error {
|
|||
gwIP := mod.Session.Gateway.IP
|
||||
myMAC := mod.Session.Interface.HW
|
||||
for mod.Running() {
|
||||
mod.arpSpoofTargets(gwIP, myMAC, true, true)
|
||||
mod.arpSpoofTargets(gwIP, myMAC, true, false)
|
||||
for _, address := range neighbours {
|
||||
if !mod.Session.Skip(address) {
|
||||
mod.arpSpoofTargets(address, myMAC, true, false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue