PENGZhaoqing / SimpleSniff

A very simple sniff tool implementation with the same basic function of wireshark by pyqt4 and scapy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SimpleSniff

A very simple sniff tool implementation with the same basic function of wireshark by pyqt4 and scapy.

Prerequisite

Install the following libs first:

  • pyqt4
  • scapy
  • qt designer(optimal)

Usage:

git clone https://github.com/PENGZhaoqing/SimpleSniff
cd SimpleSniff
sudo python simple_sniff.py

Note : because scapy requires sudo prevelige to sniff the package from the network interface, so we use sudo to execute

For developement tips

You can use qt designer to design the UI and use the followings command to convert ui file directly to python file, which can be imported in simple_sniff.py as module

pyuic4 pyqt.ui -o pyqt_ui.py

Here we give the pyqt.ui file

Todo list

  1. Parse more protocol like HTTP
  2. Improve thread management
  3. Add database support
  4. Custom the extract method of package

Demo

demo

If you like, please star it!!! Welcome comtributors

ScreenShot

About

A very simple sniff tool implementation with the same basic function of wireshark by pyqt4 and scapy


Languages

Language:Python 100.0%