Skip to content

A quick packet sniffer developed using python, scapy to capture TCP, UDP and ICMP Packets.

Notifications You must be signed in to change notification settings

Roshan-Poudel/Python-Scapy-Packet-Sniffer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

Python-Scapy-Packet-Sniffer

A quick packet Sniffer developed using python v3 with scapy to capture TCP, UDP and ICMP Packets in linux .This script is tested on linux Operating System on python version3. The script captures all the incoming and outgoing packets from all interface of the machine. Once the packets are captures they are classfies into TCP, UDP and ICMP packets based on their header.Under each classification the packets are categorized into incoming and outgoing packets.Some of the information captures by Packet Sniffer is Time Stamp, Source Mac,Destination Mac,source IP Address, Destination IP Address, . The dependent modules are Builtin os, datetime,socket, time, and external Scapy . Scapy is not pre-installed in Linux hence, needs to be installed.

Installing External Modules:

sudo apt install scapy  

To download and Run Script

git clone https://github.com/Roshan-Poudel/Python-Scapy-Packet-Sniffer.git  
cd Python-Scapy-Packet-Sniffer/  
sudo python3 python-packet-sniffer.py       

About

A quick packet sniffer developed using python, scapy to capture TCP, UDP and ICMP Packets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages