LANs.py is a multithreaded asynchronous packet parsing/injecting ARP spoofer & poisoner.
Individually poisons the ARP tables of the target box, the router and the DNS server if necessary. Does not poison anyone else on the network. Displays all most the interesting bits of their traffic and can inject custom html into pages they visit. Cleans up after itself.
This script uses a python nfqueue-bindings queue wrapped in a Twisted IReadDescriptor to feed packets to callback functions. nfqueue-bindings is used to drop and forward certain packets. Python’s scapy library does the work to parse and inject packets.
Requirements
- Linux
- Scapy
- Python nfqueue-bindings 0.4.3+
- aircrack-ng
- Python twisted
- BeEF (optional)
- A wireless card capable of promiscuous mode if you choose not to use the -ip option
You can download LANs.py here:
Or read more here.