mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 13:09:49 -07:00
Merge pull request #894 from Azrotronik/arp_spoof-patch
Fix arp.spoof not sending replies and hanging
This commit is contained in:
commit
cb8a87460b
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ func (mod *ArpSpoofer) Start() error {
|
||||||
gwIP := mod.Session.Gateway.IP
|
gwIP := mod.Session.Gateway.IP
|
||||||
myMAC := mod.Session.Interface.HW
|
myMAC := mod.Session.Interface.HW
|
||||||
for mod.Running() {
|
for mod.Running() {
|
||||||
mod.arpSpoofTargets(gwIP, myMAC, true, true)
|
mod.arpSpoofTargets(gwIP, myMAC, true, false)
|
||||||
for _, address := range neighbours {
|
for _, address := range neighbours {
|
||||||
if !mod.Session.Skip(address) {
|
if !mod.Session.Skip(address) {
|
||||||
mod.arpSpoofTargets(address, myMAC, true, false)
|
mod.arpSpoofTargets(address, myMAC, true, false)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue