/Sniffer

IS301 Computer Communication and Network Project

Primary LanguagePythonMIT LicenseMIT

Sniffer

IS301 Computer Communication and Network Project

计算机通信网大作业 - 网络抓包器

作者 - Evander & Xynnn_

Getting Startted

Prerequisites

  • Python 3.x on Win-64 platform
  • PyQt5 GUI
  • ansi2html used to parse ANSI ESCAPE Sequence to html css.

Usage

pip3 install pyqt5
pip3 install ansi2html
cd ./src
python ./main.py

# Or just run bin/sniffer_v1.exe

pip3 install pyqt5
pip3 install ansi2html
cd ./bin
./sniffer_v1.exe

Note: Python 3.x only, and the script may contains any other packages, just search for installing them.

Features

Sniffing & Searching

Packets Filter & IP Packets Reassembly

Tracing TCP Stream

You can reassemble TCP stream packets and open it which is generated as file nxm automacitally in the current path.

Let's capture a FTP transfer file:

Formatted Display

Telnet bbs.sjtu.edu.cn as example, after tracing TCP stream, we got code and formatted display as you can see:

Saving Capture Log

Click "保存" to save a file named *.pcap whereby you make further analysis through Wireshark.

To be continue

Want to see something else added? Open an issue.