Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ARP spoof local IPs (or specific local IP) using scapy and getmac

License

Notifications You must be signed in to change notification settings

jstjep00/ARP-spoofer-python3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ARP-spoofer-python3

ARP spoof local IPs (or specific local IP) using scapy and getmac Sends spoofed localhost ARP packet (pretending to be the gateway) to LAN hosts and sends spoofed LAN hosts ARP packet to gateway.

Install requirements:

Requirements for the repo are scapy and getmac libraries and you can easily install them with:

pip3 install -r requirements.txt

Usage:

Firstly you need to enable IP forwarding with:

echo 1 > /proc/sys/net/ipv4/ip_forward

Which will allow us to control the flow of IP packets with our script.

Next, you have to invoke python3 with superuser priviledges and specify interface you want to use:

sudo python3 arp_poisoning.py -i "wlan0"

After turnin on the script, open up Wireshark and now you are able to see every packet on wifi network.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

About

ARP spoof local IPs (or specific local IP) using scapy and getmac

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages