Video Description

Writing a Packet Sniffer in Python This lesson focuses on writing a packet sniffer in Python. Participants learn step by step instructions in writing a short Python script (fewer than 200 lines) and it is something that can be easily expanded as needed. A packet sniffer in Python is an important tool to have because they tend to be pretty large tools such as Wireshark, they are complex and take a lot of getting used to. To write a packet sniffer; first you need to determine the three levels for the raw sockets: - IP_family

  • Protocol

  • Ethernet

Knowing these allow you write and read the headers. This lab-based lesson allows participants to follow along with the instructor as he programs with the instructor, allowing them to practice their Python programming skills and gain the skills needed to write a sniffer listen to every port and pick up every bit of traffic it receives.

Course Modules