A university project for computer networking class.
This project sniff the network and show us the packets.TCP,UDP and ICMP are packets that this program show us and read header of this protocols,then show us the information that we want.
- python3
- Scapy
- npcap(for windows)
After installing scapy and npcap(for windows),go to directory of project and type :
python sniffer.py
In linux,run with sudo
sudo python3 sniffer.py
For using in Linux,you need to install scapy first.use this to install(for ubuntu)
sudo apt-get install -y python3-scapy