Skip to content

Latest commit

 

History

History
24 lines (23 loc) · 678 Bytes

README.md

File metadata and controls

24 lines (23 loc) · 678 Bytes

Network Sniffer

A university project for computer networking class.

Description

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.

Getting Started

Dependencies

  • python3
  • Scapy
  • npcap(for windows)

Executing program

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

Note

For using in Linux,you need to install scapy first.use this to install(for ubuntu)

sudo apt-get install -y python3-scapy