Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不同网络情况下添加二级代理 #97

Open
LiWeiMr opened this issue Sep 19, 2024 · 2 comments
Open

不同网络情况下添加二级代理 #97

LiWeiMr opened this issue Sep 19, 2024 · 2 comments

Comments

@LiWeiMr
Copy link

LiWeiMr commented Sep 19, 2024

电脑连接了多台 adb 设备,你需要指定 adb serial

python3 -u startmitm.py localhost --serial x.x.x.x:65000
通过这种方式无法添加二级代理吗,我设置 --upstream http://xxxx:xxxx时提示我
dns will not sent via upstream in USB mode
dns must be set in upstream mode
在后面追加上dns时又提示 dns mitm not available in USB mode;
如果我想在基础上添加二级代理该怎么做呢

@rev1si0n
Copy link
Collaborator

rev1si0n commented Sep 22, 2024

你可以先用 7.25 版本的脚本 ( https://github.com/firerpa/lamda/blob/v7.25/tools/startmitm.py ),应该是支持的,25后的版本增加了DNS流量代理后面看看怎么解决。

@LiWeiMr
Copy link
Author

LiWeiMr commented Sep 23, 2024

感谢,不过我发现7.25版本直接设置--upstream http:xxxx:xxxx 虽然能够启动服务,但是安卓机器没有挂上对应的代理;不过通过 --mode upstream:xxxx:xxxx 这种方式是可行的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants