Skip to content

The python script creates a raw socket and sniffs the incoming packets. The Ethernet, IP, ICMP, TCP and UDP headers are displayed in the terminal plus the payload of the packet.

Notifications You must be signed in to change notification settings

am0nt31r0/Linux-Sniffer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Linux-Sniffer

Description

The python script creates a raw socket and sniffs the incoming packets. The Ethernet, IP, ICMP, TCP and UDP headers are displayed in the terminal plus the payload packet.

Tested on

KDE Neon

Before Running Install

Install Python3.6. Checkout this tutorial: https://docs.python-guide.org/starting/install3/linux/#install3-linux

Run

Execute the script with super-user permissions. The script makes use of 'socket' library which needs administration level to create a raw socket.

Usage: sudo ./sniffer.py

By am0nt031r0

About

The python script creates a raw socket and sniffs the incoming packets. The Ethernet, IP, ICMP, TCP and UDP headers are displayed in the terminal plus the payload of the packet.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages