Comments (8)
谢谢 指导。
1 如果有精力的话,可以试一下或支持下该方案么(测试下win10或macOS 系统下的客户端程序 同一lyrebird和pc上操作这些客户端 能否被lyrebird 正常捕获和回访使用)
2 是否有支持 swagger 或 postman 或har 其他第三方比如fiddler捕获的请求 的导入
比如httprunner提供的 转换工具 https://github.com/HttpRunner/har2case
转换为json格式后导入 或直接支持标准的har格式导入
from lyrebird.
@zhaoye 你好:
我今天在我的ubuntu18.04 尝试了下
1 只开启有线网络 且设置了内网固定ip (关闭无线wifi 关闭shadowsocks 排除一切其他干扰)
2 本机ubuntu启动lyrebird,找到mitmproxy代理地址和端口,
将该mitmproxy代理地址配置到 ubuntu系统里的 系统设置->网络->网络代理
3 然后用本机浏览器chrome和firefox分别访问,
firxfox 直接可以提示安装mitmproxy的证书 安装成功后 firefox浏览器打开百度测试 可抓到请求
本机打开的网易云音乐客户端linux版的 也可抓取到请求, chrome浏览器打开百度则无请求抓到
chrome 不可以 但我查看https://docs.mitmproxy.org/stable/concepts-certificates/ 有其它给ubutnu chrome安装证书的方法。
所以 以上证明 本地pc机启动lyrebird的代理mitmproxy 本地浏览器安装好证书 是可以实现对本机客户端程序(有网路请求的比如网易云音乐这种)进行代理抓取的!!!
疑问:mitmproxy 证书 是不是分为浏览器级别的 和 本机系统全局级别的。
我若想让本机系统所有的程序的网络请求都被抓取 是不是应该参考https://docs.mitmproxy.org/stable/concepts-certificates/ 中的ubuntu 或linux 来安装全局证书?
from lyrebird.
https://docs.mitmproxy.org/stable/concepts-certificates/
好像 可以的?
from lyrebird.
mitmproxy的话是可以的。
你可以尝试一下在PC的网络连接中设置代理来获取数据。两个PC之间的通讯同使用手机的场景。
但是在同一个PC上启动Lyrebird,并且获取这个设备上的网络请求,这个场景我不是很确定。
十分抱歉,这部分我们还没有涉及。
相关文档:https://docs.mitmproxy.org/stable/howto-transparent/
from lyrebird.
我的想法是这样的,还是正常启动lyrebird, 然后启动该lyrebird 的pc 访问地址http://mitm.it/
可以正常像手机设备里一样,正常的提示安装证书。(目前pc浏览器访问如上图) 然后该pc机 就挂上mitmproxy代理了。就可以正常用lyrebird操作了。
如果能这样最好。。。不知 可否支持。
from lyrebird.
对于数据导入和抓取PC端数据的支持确认可行。先标记一下。后续加入排期。
@Archer456
from lyrebird.
Cool 👍 真不错。
证书的问题,我觉得参照https://docs.mitmproxy.org/stable/howto-transparent/可以实现全局信任了。
但是有些应用可能会自己进行证书校验。校验失败的话,这时候也会导致无法获取网络请求。
from lyrebird.
我今天试了一下两台机,数据是可以抓取,但是返回的数据在被抓的机器上是不完整的,有的资源没有显示出来,例如图片?不知道是什么原因。
证书我是用的地址http://mitm.it/下的window证书。
用的是chrome浏览器。
from lyrebird.
Related Issues (20)
- win11 python3.7 pip下载lyrebird 报错 HOT 4
- 看到readme有实现埋点自动测试功能,但没有相关介绍文档,想问下有类似文档地址么 HOT 2
- 请问数据查询支持区分设备吗? HOT 1
- 能升级requests库版本吗?当前版本过低,与其他用于无法兼容 HOT 2
- 大量的http://127.0.0.1:4272/kill请求 HOT 4
- 保存数据包到文件 中 HOT 4
- 我这边windows启动报错,麻烦知道的大神可以帮忙指导一下为什么? HOT 8
- testusing
- mitmproxy下载后,本地可以直接通过命令打开,但是lyrebird一直启动不了代理 HOT 9
- Add Plugin start status API.
- [BUG] ImportError: cannot import name 'ParameterSource' from 'click.core'(Python3.8.11) HOT 2
- [BUG] Can Not Install Lyrebird In Python3.11.x(3.11.3)
- 能否支持 ws / wss 等协议? HOT 1
- Buglt 插件报错:AttributeError: 'ConfigManager' object has no attribute 'root' HOT 1
- 需要提供一个arm架构的docker容器,方便在mac或树莓派香橙派上进行搭建
- 向激活状态中的MockGroup粘贴Data时发生报错
- 能否提供一个接口,用于完全关闭lyrebird HOT 3
- 为什么使用pip3 install lyrebird安装时,要将所有版本down下来呢?是必须的么?安装好慢~ HOT 8
- 我在mac本地安装好了,抓包后无法添加到mock分组里
- mac本地运行,激活group后刷新页面,mock树中对应的group不显示激活状态了,实际还是激活状态,想结束需要再次点激活然后再结束 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lyrebird.