First I tried running this:
from scapy.all import *
while True:
send([ARP(op=ARP.who_has, psrc="192.168.1.60")])
I sends 9 packets then stops. I wanted it to run until I press ctrl+c.
I have a list of ip ["192.168.1.7","192.168.1.12","192.168.1.32","192.168.1.223"]
I tried running:
from scapy.all import *
while True:
for ip in mylist:
send([ARP(op=ARP.who_has, psrc="192.168.1.60")])
It still sends 9 packets and stop. I would like to know how to send packets until I press ctrl+C.