Merge pull request #894 from Azrotronik/arp_spoof-patch

Fix arp.spoof not sending replies and hanging
This commit is contained in:
Simone Margaritelli 2021-08-07 16:40:57 +02:00 committed by GitHub
commit cb8a87460b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)