Python (windows)packet sniffer ARP

ElChino elchino at cnn.cn
Fri Jan 31 11:03:10 EST 2014


"Mark Betz" <betz.mark at gmail.com> wrote:

>> I am wondering if it possible to create a packet sniffer in windows using python that only sniffs for ARP packets.
> 
> A couple of links to get you started:

The OP could use Impacket's libpcap bindings. With one of the examples,
it's easy:
  python examples/sniff.py ether proto 0x0806

The excellent Impacket/Pcapy is here:
  http://oss.coresecurity.com/pcapy/   (but it seems down now).

--gv



More information about the Python-list mailing list