Skip to main content

grabbing buried points

Project description

garbevents

Build Status PyPI PyPI - Wheel PyPI - Python Version GitHub top language GitHub stars https://blog.csdn.net/flower_drop

Logo

logo

安装

pip install garbevents

仓库地址:

社区地址

适用场景

  1. 使用 诸葛IO 作为埋点收集工具的 。
  2. 需要回归验证大批量埋点是否丢失的。
  3. 使用本工具 自动抓取解析埋点信息数据校验埋点是否 丢失。

功能

  1. 自动解析 移动端\桌面端\h5页面 触发的埋点信息,解密后生成[now_data.txt]
  2. 去重后和已知埋点信息diff,保存文件[lost_data.txt]

使用

  • 启动服务
mitmdump -p 8889
  • 连接代理

  • 下载证书

mitm.it

命令

mitmdump -p 8889 -s <you_test_script.py>

Demo

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()
]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

garbevents-1.0.8.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

garbevents-1.0.8-py3-none-any.whl (5.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page