Packet Analyzer – Writing a Packet Sniffer in Python

Invite Friends
Facebook Twitter Google+ LinkedIn Email
Description
Virtual Practice Lab
Practice Test
Resources
Packet Analyzer – Writing a Packet Sniffer in Python

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.

Coming Soon
Learn on the go.
The app designed for the modern cyber security professional.
Get it on Google PlayGet it on the App Store
Practice Labs and Exam Vouchers

Congratulations! You're taking the first step to getting certified. Get some hands on experience with available practice labs OR save some money, support Cybrary, and purchase discounted exam vouchers. Ready to earn your next industry certification? Join cyber security's largest community and start learning today.

JOIN CYBRARY

Upcoming Industry Events

Our Revolution

We believe Cyber Security training should be free, for everyone, FOREVER. Everyone, everywhere, deserves the OPPORTUNITY to learn, begin and grow a career in this fascinating field. Therefore, Cybrary is a free community where people, companies and training come together to give everyone the ability to collaborate in an open source way that is revolutionizing the cyber security educational experience.

Cybrary On The Go

Get the Cybrary app for Android for online and offline viewing of our lessons.

Get it on Google Play
 

Support Cybrary

Donate Here to Get This Month's Donor Badge

 

Cybrary|0P3N

UNM4SK3D: WPA2, ATMs, and RSA Keys
Views: 503 / October 20, 2017
New Attack Against WPA2 “KRACK”
Views: 891 / October 20, 2017
How To Be Security Conscious
Views: 1174 / October 19, 2017
External IP Address Search Using Python Source Code
Views: 2469 / October 18, 2017
Skip to toolbar

We recommend always using caution when following any link

Are you sure you want to continue?

Continue
Cancel