Skip to content

Repository files navigation

Network Sniffign Tools Comparison

This repo includes the CS 350 Operating Systems course's project codes. We build a program that compares the performances of Socket, Pyshark, and Scapy libraries in network sniffing. The program has a GUI built with PyQt5

Requirements

  • Use a Linux distribution (Windows causes permission issues)
  • Download the modules in the requirements.txt using "sudo" command (e.g. "sudo pip3 install fpdf")
  • Download thshark (Required to use the Pyshark module)
    • sudo apt update
    • sudo apt install tshark
  • Run the program with "sudo" (e.g. sudo python3 sniffer_comparison.py)

Program Workflow

  • Type the network interface name to the related text input (default is "enp0s3" which works fine with Ubuntu)
  • Enter the number of packet that needs to be sniffed
  • If .pcap file is needed, check the box
  • Click the "Sniff!" button
  • Wait for the sniffing to end. The GUI will be uninteractible until the sniffing process ends. If you are using the program for testing, open a random webpage on your browser to provide program with network packets

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages