-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
lijiawei
committed
Jun 25, 2020
1 parent
3dae022
commit 63e7aaa
Showing
7 changed files
with
134 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,119 @@ | ||
Metadata-Version: 1.0 | ||
Metadata-Version: 2.1 | ||
Name: garbevents | ||
Version: 1.0.5 | ||
Version: 1.0.7 | ||
Summary: grabbing buried points | ||
Home-page: https://github.com/Pactortester/garb-events | ||
Author: lijiawei | ||
Author-email: 1456470136@qq.com | ||
License: MIT Licence | ||
Description: A method of grabbing buried points, improve the mitmproxy.This is a python toolkit for real-time capture,analysis, cleaning and report generation of embedded points based on the development of mitmproxy. | ||
Description: # garbevents | ||
|
||
|
||
[![Build Status](https://travis-ci.com/Pactortester/garb-events.svg?branch=master)](https://travis-ci.com/Pactortester/garb-events) ![PyPI](https://img.shields.io/pypi/v/garbevents) ![PyPI - Wheel](https://img.shields.io/pypi/wheel/garbevents) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mitmproxy) ![GitHub top language](https://img.shields.io/github/languages/top/Pactortester/garb-events) ![GitHub stars](https://img.shields.io/github/stars/Pactortester/garb-events?style=social) ![https://blog.csdn.net/flower_drop](https://img.shields.io/badge/csdn-%40flower__drop-orange) | ||
|
||
|
||
## Logo | ||
|
||
|
||
![logo](https://github.com/Pactortester/garb-events/blob/master/images/garbevents.png) | ||
|
||
|
||
## 安装 | ||
|
||
|
||
pip install garbevents | ||
|
||
|
||
## 仓库地址: | ||
|
||
|
||
- github:https://github.com/Pactortester/garb-events.git | ||
- pypi:https://pypi.org/project/garbevents/#history | ||
|
||
|
||
## 社区地址 | ||
|
||
|
||
- testerhome:https://testerhome.com/opensource_projects/garbevents | ||
|
||
|
||
## 适用场景 | ||
|
||
|
||
1. 使用 诸葛IO 作为埋点收集工具的 。 | ||
2. 需要回归验证大批量埋点是否丢失的。 | ||
3. 使用本工具 自动抓取解析埋点信息数据校验埋点是否 丢失。 | ||
|
||
|
||
## 功能 | ||
|
||
|
||
1. 自动解析 移动端\桌面端\h5页面 触发的埋点信息,解密后生成[now_data.txt] | ||
2. 去重后和已知埋点信息diff,保存文件[data.txt] | ||
|
||
|
||
## 使用 | ||
|
||
|
||
- 启动服务 | ||
```shell | ||
mitmdump -p 8889 | ||
``` | ||
|
||
- 连接代理 | ||
|
||
- 下载证书 | ||
```shell | ||
mitm.it | ||
``` | ||
|
||
|
||
## 命令 | ||
|
||
|
||
```shell | ||
mitmdump -p 8889 -s <you_test_script.py> | ||
``` | ||
|
||
|
||
## Demo | ||
|
||
|
||
```python | ||
from garbevents.events import GetData | ||
from garbevents.settings import Settings as ST | ||
|
||
# 埋点上传url | ||
ST.url = 'https://www.baidu.com/' | ||
# 报告生成路径 | ||
ST.report_path = 'report' | ||
# 所有事件名称 | ||
ST.all_events = ['event_name_1', 'event_name_2'] | ||
# 接口地址 | ||
ST.interface_url = ['apipool', 'APIPOOL'] | ||
|
||
addons = [ | ||
GetData() | ||
] | ||
``` | ||
|
||
Keywords: pip,garbevents,get_events,buried points | ||
Platform: any | ||
Classifier: License :: OSI Approved :: MIT License | ||
Classifier: Development Status :: 5 - Production/Stable | ||
Classifier: Environment :: Console :: Curses | ||
Classifier: Operating System :: MacOS | ||
Classifier: Operating System :: POSIX | ||
Classifier: Operating System :: Microsoft :: Windows | ||
Classifier: Programming Language :: Python :: 3 :: Only | ||
Classifier: Programming Language :: Python :: 3.6 | ||
Classifier: Programming Language :: Python :: 3.7 | ||
Classifier: Programming Language :: Python :: 3.8 | ||
Classifier: Programming Language :: Python :: Implementation :: CPython | ||
Classifier: Topic :: Security | ||
Classifier: Topic :: Internet :: WWW/HTTP | ||
Classifier: Topic :: Internet :: Proxy Servers | ||
Classifier: Topic :: System :: Networking :: Monitoring | ||
Classifier: Topic :: Software Development :: Testing | ||
Classifier: Typing :: Typed | ||
Description-Content-Type: text/markdown |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters