A very simple sniff tool implementation with the same basic function of wireshark by pyqt4 and scapy.
Install the following libs first:
- pyqt4
- scapy
- qt designer(optimal)
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
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
- Parse more protocol like HTTP
- Improve thread management
- Add database support
- Custom the extract method of package
If you like, please star it!!! Welcome comtributors