{"id":13826725,"url":"https://github.com/haopeiwen/sniffer","last_synced_at":"2025-07-09T01:31:11.456Z","repository":{"id":112774255,"uuid":"113325743","full_name":"HaoPeiwen/Sniffer","owner":"HaoPeiwen","description":"IS301  Computer Communication and Network Project","archived":false,"fork":false,"pushed_at":"2018-12-11T11:25:33.000Z","size":22870,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-15T22:34:52.942Z","etag":null,"topics":["pyqt5","sniffer"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HaoPeiwen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-12-06T14:19:59.000Z","updated_at":"2023-09-19T02:39:05.000Z","dependencies_parsed_at":"2024-01-07T22:49:55.928Z","dependency_job_id":"5eca9619-f4c4-4ce3-a8b6-6f9a535fac08","html_url":"https://github.com/HaoPeiwen/Sniffer","commit_stats":null,"previous_names":["ragnarosaa/sniffer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HaoPeiwen%2FSniffer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HaoPeiwen%2FSniffer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HaoPeiwen%2FSniffer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HaoPeiwen%2FSniffer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HaoPeiwen","download_url":"https://codeload.github.com/HaoPeiwen/Sniffer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225476383,"owners_count":17480215,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pyqt5","sniffer"],"created_at":"2024-08-04T09:01:43.202Z","updated_at":"2024-11-20T05:31:01.392Z","avatar_url":"https://github.com/HaoPeiwen.png","language":"Python","funding_links":[],"categories":["\u003ca id=\"7bf0f5839fb2827fdc1b93ae6ac7f53d\"\u003e\u003c/a\u003e工具"],"sub_categories":["\u003ca id=\"32739127f0c38d61b14448c66a797098\"\u003e\u003c/a\u003e嗅探\u0026\u0026Sniff"],"readme":"# Sniffer\n![](https://img.shields.io/pypi/pyversions/Django.svg) ![](https://img.shields.io/badge/platform-win--64-lightgrey.svg)\n ![](https://img.shields.io/apm/l/vim-mode.svg) \n\nIS301 Computer Communication and Network Project\n\n计算机通信网大作业 - 网络抓包器\n\n*作者 -* [*Evander*](https://github.com/HaoPeiwen) *\u0026* [*Xynnn_*](https://github.com/Xynnn007)\n\n## Getting Startted\n### Prerequisites\n- Python 3.x on Win-64 platform\n- [PyQt5](https://riverbankcomputing.com/software/pyqt/download5) GUI\n- [ansi2html](https://github.com/ralphbean/ansi2html) used to parse ANSI ESCAPE Sequence to html css.\n\n\n### Usage\n    pip3 install pyqt5\n    pip3 install ansi2html\n    cd ./src\n    python ./main.py\n\n    # Or just run bin/sniffer_v1.exe\n\n    pip3 install pyqt5\n    pip3 install ansi2html\n    cd ./bin\n    ./sniffer_v1.exe\n  \n*Note: Python 3.x only, and the script may contains any other packages, just search for installing them.*\n\n## Features\n\n### Sniffing \u0026 Searching\n\n![](https://raw.githubusercontent.com/HaoPeiwen/Sniffer/master/demo1.gif)\n\n### Packets Filter \u0026 IP Packets Reassembly\n\n![](https://raw.githubusercontent.com/HaoPeiwen/Sniffer/master/demo2.gif)\n\n### Tracing TCP Stream\n\nYou can reassemble TCP stream packets and open it which is generated as file `nxm` automacitally in the current path. \n\nLet's capture a FTP transfer file:\n\n![](https://raw.githubusercontent.com/HaoPeiwen/Sniffer/master/demo4.png)\n![](https://raw.githubusercontent.com/HaoPeiwen/Sniffer/master/demo5.png)\n\n\n### Formatted Display\n  \nTelnet *bbs.sjtu.edu.cn* as example, after tracing TCP stream, we got \u003cASCII\u003e code and formatted display as you can see:\n\n![](https://raw.githubusercontent.com/HaoPeiwen/Sniffer/master/demo3.gif)\n\n### Saving Capture Log\nClick \"保存\" to save a file named `*.pcap` whereby you make further analysis through [*Wireshark*](https://www.wireshark.org/).\n\n## To be continue\nWant to see something else added? [Open an issue.](https://github.com/HaoPeiwen/Sniffer/issues/new)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaopeiwen%2Fsniffer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaopeiwen%2Fsniffer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaopeiwen%2Fsniffer/lists"}