This video shows you how to convert a monolithic Python 2 packet sniffer script to a multi-module Python 3. The example I use comes from the excellent book: Black Hat Python: Python Programming for Hackers and Pentesters, by Justin Seitz, and published by No Starch Press: Chapter 3 - The Network: Raw Sockets and Sniffing.
Index:
Analysis: • Python 3 Programming: Porting Packet Sniff...
sniffer.py module: • Python 3 Programming: Porting Packet Sniff...
ip.py module: • Python 3 Programming: Porting Packet Sniff...
icmp.py module: • Python 3 Programming: Porting Packet Sniff...