FuxuanTracer
FuxuanTracer是一个基于Python的开源网络流量监控工具,它能够抓取网络数据包,并解析出网络连接的IP地址, 端口等信息, 方便用户进行网络流量监控。
安装
pip install FuxuanTracer
Get Started
from FuxuanTracer import DataPackAnalyzer
ins = DataPackAnalyzer()
devices = list(ins.getAvaliableDevice().keys())
# 我们选择第4个,因为那个是我的以太网设备
choose_divice = devices[4]
# 设置过滤器, 注意: 每次调用 setFilter 都会重置过滤规则
ins.setFilter(WebProtocol="HTTPS", Port=[443])
# 抓取10个包
ins.catchDataPak(choose_divice, 100)
# 解析抓取的包
ins.analyze_packets(True,"result.log",False,True)
参数说明(analyze_packets)
-
- True ,代表写入文件
-
- result.log , 写入文件的文件名
-
- False , 代表不用json格式写入文件
-
- True , 代表应用过滤器
Metadata
Release files for FuxuanTracer 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fuxuantracer-0.0.1.tar.gz | 15.9 kB | Without provenance | Details for fuxuantracer-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| FuxuanTracer-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for FuxuanTracer-0.0.1-py3-none-any.whl |
Total release size: 36.1 kB
Release files / fuxuantracer-0.0.1.tar.gz
| Download URL | fuxuantracer-0.0.1.tar.gz |
|---|---|
| Size | 15.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
80e99b4f5978b3d32ad554d660a1d706a5ca77417a1e9e94735c123750af5db4
|
|
BLAKE2b-256 checksum How to use checksums |
4377f8959288de60783f44e61240b3e914c0b5cba6fee522eee27d2ffad2fae8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / FuxuanTracer-0.0.1-py3-none-any.whl
| Download URL | FuxuanTracer-0.0.1-py3-none-any.whl |
|---|---|
| Size | 20.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d318a928873f0cfa2ad84aba2a97bdd5e547f8b904cf58ce0f150ffc7308345e
|
|
BLAKE2b-256 checksum How to use checksums |
6a5cdc4bedc8dfdf9a2bc06b4bbb001239c667645fbb0e76e41baba98ca9aa44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Security for FuxuanTracer 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.