A real-time network packet sniffer with a cyberpunk-themed PyQt5 GUI. Captures live traffic, visualizes protocol activity and packet rate, flags high-traffic IPs by threat level, and inspects HTTP requests/responses in real time.
- Live packet capture via Scapy, filterable by protocol (TCP/UDP/HTTP/ARP/ICMP) or custom BPF filter
- Real-time protocol activity bar chart and packet rate graph (pyqtgraph)
- IP address table with automatic threat-level scoring based on traffic volume
- Live HTTP request/response inspection
- Security alert panel (e.g. ICMP floods, HTTP requests)
- Cross-platform interface detection (Windows via netsh, Linux/Mac via ifconfig)
- Python, PyQt5
- Scapy (packet capture)
- pyqtgraph, numpy (visualization)
- Windows: Npcap must be installed for packet capture
- Linux/Mac: run with sufficient privileges to open raw sockets (typically sudo)
git clone https://github.com/zulqarnain2004/Packet-Sniffer.git
cd Packet-Sniffer/cybervision_sniffer
pip install -r requirements.txtRun as Administrator (Windows) or with sudo (Linux/Mac), since raw packet capture requires elevated privileges:
python cybervision_sniffer.pySelect a network interface, choose a capture filter, and click START.
cybervision_sniffer/ ├── cybervision_sniffer.py # Main app: sniffer thread + PyQt5 GUI └── requirements.txt
MIT