https://github.com/pengzhaoqing/simplesniff
A very simple sniff tool implementation with the same basic function of wireshark by pyqt4 and scapy
https://github.com/pengzhaoqing/simplesniff
pyqt5 qt qt-designer scapy sniff tutorial
Last synced: 19 days ago
JSON representation
A very simple sniff tool implementation with the same basic function of wireshark by pyqt4 and scapy
- Host: GitHub
- URL: https://github.com/pengzhaoqing/simplesniff
- Owner: PENGZhaoqing
- Created: 2017-05-29T18:08:47.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-29T19:30:08.000Z (about 9 years ago)
- Last Synced: 2025-03-13T02:41:29.313Z (about 1 year ago)
- Topics: pyqt5, qt, qt-designer, scapy, sniff, tutorial
- Language: Python
- Homepage:
- Size: 843 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](http://doc.qt.io/qt-4.8/designer-manual.html) 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

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