Low Level Networking 101: Python Network Sniffer

Опубликовано: 25 Март 2026
на канале: Hack the Clown
9,291
560

Description

This video will improve your knowledge about low level networking by teaching you how to create a simple network sniffer in python.

NOTE: Packet sniffing libraries/frameworks like "scapy" is out of scope of this video as we want to focus on the fundamentals. It can be covered on a separate video.

Be sure to use the tools, techniques, or any learnings you in ethical purposes only.

// Tags

#ethicalhacking #python #nework #sniffing

// Chapters

0:00 - Intro
0:42 - Program base structure (module imports, classes, functions)
2:58 - IP Header internals
5:28 - Extracting IP header fields
7:09 - Extracting nibbles via bit manipulation technique
9:19 - Protocol maps
10:08 - Calling the Packet class
11:35 - Receiving the packet buffer
12:53 - Firing up ICMP sniffer
13:24 - Building the TCP sniffer
15:10 - Extracting packet data
16:01 - Character encoding basics (ASCII, non-printable characters)
17:08 - Firing up TCP sniffer

// Links

Protocol numbers: https://en.wikipedia.org/wiki/List_of...