- 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.
pip install -r requirements.txt
sudo python3 sniffer.py