mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 04:59:25 -07:00
Balls :)
This commit is contained in:
parent
e698af7607
commit
3606c121c5
1 changed files with 1 additions and 2 deletions
|
@ -146,10 +146,9 @@ func (p *ArpSpoofer) pktRouter(eth *layers.Ethernet, ip4 *layers.IPv4, pkt gopac
|
||||||
|
|
||||||
// check if this packet is from or to one of the spoofing targets
|
// check if this packet is from or to one of the spoofing targets
|
||||||
// and therefore needs patching and forwarding.
|
// and therefore needs patching and forwarding.
|
||||||
doForward := false
|
|
||||||
for _, target := range p.addresses {
|
for _, target := range p.addresses {
|
||||||
|
|
||||||
targetMAC, err := p.getMAC(target, true);
|
targetMAC, err := p.getMAC(target, true)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error("Error retrieving target MAC address for %s", target.String(), err)
|
log.Error("Error retrieving target MAC address for %s", target.String(), err)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue