FlowAnalyzer是一个流量分析器,用于解析和处理tshark导出的JSON数据文件
Project description
FlowAnalyzer
安装
使用 pip
安装:
pip3 install FlowAnalyzer
pip3 install FlowAnalyzer -i https://pypi.org/simple
快速上手
配置
如果您安装 WireShark
没有修改安装目录,默认 tshark
路径会如下:
# windows
tshark_path = r"C:\Program Files\Wireshark\tshark.exe"
Linux
, MacOS
默认路径不清楚,需要看下面的纠正路径,确定路径没有问题,那也无需任何配置即可使用!
纠正路径
修改 python安装目录\Lib\site-packages\FlowAnalyzer\Path.py
中的变量 tshark_path
改为tshark正确路径
测试
$ git clone https://github.com/Byxs20/FlowAnalyzer.git
$ cd ./FlowAnalyzer/
$ python tests\demo.py
运行结果:
[+] 正在处理第1个HTTP流!
序号: 2请求包, 请求头: b'POST /upload/php_eval_xor_base64.php HTTP/1.1\r\nUser-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0\r\n
...
Contributing
Feel free to submit issues or pull requests if you have any suggestions, improvements, or bug reports.
License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
FlowAnalyzer-0.4.0.tar.gz
(6.7 kB
view details)
Built Distribution
File details
Details for the file FlowAnalyzer-0.4.0.tar.gz
.
File metadata
- Download URL: FlowAnalyzer-0.4.0.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b86b0bc0092b345e5d4613033fffb41dba1c56e1e0e7cb9cda70097c460a504 |
|
MD5 | 396e58ddd0047dfd0bfcaa0529d2b29d |
|
BLAKE2b-256 | 08d0fb62d0df2dbd69a3dc14c7e8dbb3271996319b8e9bc759a4830f2ec3eaaf |
File details
Details for the file FlowAnalyzer-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: FlowAnalyzer-0.4.0-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 168666f0cb6834921f37c8b7a898f04092f7b08ce52bbd8f014146002bdda696 |
|
MD5 | 7abad2cb8ff16f2de7308dbe3cb7384b |
|
BLAKE2b-256 | e14182a317be3215cb9b70e1b532a0e77e7e9ca8b4e6e3fccb48e35fa57ec626 |