This project is a basic network packet sniffer written in Python using the scapy library. It captures live packets and displays:
- Source and destination IP addresses
- Protocol (TCP/UDP)
- Payload data (first 50 bytes)
- Python 3
- scapy
pip install -r requirements.txtRun the sniffer with:
sudo python3 basic_sniffer.py[+] 192.168.1.5 -> 142.250.195.174 | Protocol: TCP
Payload: b'GET /search?q=sniffer HTTP/1.1\r\nHost:...'
- Python
- Scapy library