Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.1 KB

File metadata and controls

44 lines (31 loc) · 1.1 KB

Python-ARPattacker

Description

The project use to run the ARP Attack in python.

How to use?

	Parameter:

	-i --interface : The interface you want to posion.
	-t --target    : The IP you want to attack.
	-g --gateway   : The gateway IP in the posion network.
	-p --packets   : The number of packet you want to sniff. Default :100

	example: sudo python ARPAttacker.py -i en0 -t 192.168.1.3 -g 192.168.1.1 -p 100

	[*] Remember to set your forwarding mode first.
	[*] If your computer is MAC.You should need to run this command.
	[*] $:sudo sysctl -w net.inet.ip.forwarding=1

After that,you will get a pcap file which named by date in your folder.

p.s. :

If you got the problem like it.

File "/usr/local/lib/python2.7/site-packages/scapy-2.3.1-py2.7.egg/scapy/layers/inet.py", line 450, in post_build
    p = p[:12]+chr((dataofs << 4) | ord(p[12])&0x0f)+p[13:]
IndexError: string index out of range

Please,follow the link to solve it.

https://bitbucket.org/secdev/scapy/pull-requests/135/do-not-run-post_build-when-using/diff

Version

1.0.0

License

MIT

Free Software, Hell Yeah!