Skip to content

abexamir/packet-sniffer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sniffer.py

  • Python3 based packet sniffer to sniff and log different kind of packets.
  • It can sniff Ethernet Frames, ARP Packets, IPv4 packets, TCP and UDP segments, ICMP, HTTP and DNS protocols.
  • Saves the capture logs in a file named log.pcap in the same directory as the program.
  • Libraries used: socket, struct, time, os, textwrap.
  • Must be run as root.

Usage

pip install -r requirements.txt
sudo python3 sniffer.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages