A powerful Python-based network packet sniffer for real-time traffic analysis
This project is a basic network packet sniffer built using Scapy. It captures live packets and provides detailed insights into:
- Network protocols
- Packet structure
- Payload data
- Traffic behavior
🎓 Developed by DAani Sam for CodeAlpha Cyber Security Internship – Task 1
✅ Real-time packet capture
✅ Deep protocol analysis (TCP, UDP, ICMP, ARP)
✅ Payload inspection
✅ Service detection (HTTP, HTTPS, SSH, etc.)
✅ Cross-platform compatibility
✅ Interactive CLI menu
✅ Packet statistics (rate, duration)
📌 After successful cloning and running this image will re-directed.
- Language: Python 3
- Library: Scapy
- Concepts: Networking, Packet Analysis, Cybersecurity
git clone https://github.com/DaniSam-STU/CodeAlpha_Network-Sniffer.git
cd network-sniffer
pip install scapy
python network_sniffer.pysudo python3 sniffer.py
- Run terminal as Administrator
- Install Npcap / WinPcap
pip install scapy
- Run as admin/root
- Check interface
- Ensure network activity
- Disable firewall temporarily (if needed)
- Pull requests are welcome!
- Feel free to fork and improve this project.
- DAani Sam
This project is intended for educational and ethical use only.
If you like this project, give it a ⭐ on GitHub!
