当前位置:网站首页>亲测可用fiddler手机抓包配置代理后没有网络
亲测可用fiddler手机抓包配置代理后没有网络
2022-07-05 23:40:00 【大大。】
第一次使用fiddler抓包,手机配置我自己的电脑代理后发现没有网络连接,配置别人的代理就有网络连接。经过百度,尝试了各种方法之后成功解决,以下记录整个操作过程:
1.确认手机代理没有配置错误:
电脑查找id地址的方法:开始——运行——cmd——确定——ipconfig——回车;
IPv4地址就是电脑的id地址:
手机HTTP代理里面的配置代理,选择手动,然后在服务器中输入电脑的ip地址,端口输入fiddler中设置的端口(一般是8888);

2.修改注册表信息;
打开注册表:运行——cmd——确定——regedit——回车,在HKEY_CURRENT_USER\Software\Microsoft\Fiddler2下创建一个DWORD,值置为80(十进制)(右键,选择新建):

3.编辑fiddlerScript rule;
在fiddler菜单栏中,点击Rules,选择Customize Rules,然后通过ctrl+f查找OnBeforeRequest方法添加一行代码;
if (oSession.host.toLowerCase() == "webserver:8888")
{
oSession.host = "webserver:80";
}
- 1
- 2
- 3
- 4
- 5


PS:我的电脑在设置了这些之后,重新打开fiddler发现还是不行,依然没有网络连接,于是我就想到了是不是安装证书的问题,我就把证书重新安装,然后重新打开fiddler,果然就可以了。以下为重新安装证书的操作步骤:
1.在fiddler菜单栏中,点击Tools,选择Options…
2.点击HTTPS,选择Actions,然后选择Reset All Certificates,点击确定;


3.接着就会弹出安装证书的提示信息,选择YES,安装证书;
4.安装好了之后,在Actions中选择Open Windows Certificate Manager,可以查看到安装好的证书。

边栏推荐
- 用列表初始化你的vector&&initializer_list简介
- Hcip course notes-16 VLAN, three-tier architecture, MPLS virtual private line configuration
- yate. conf
- The use of El cascader and the solution of error reporting
- Senparc.Weixin.Sample.MP源码剖析
- Technical specifications and model selection guidelines for TVs tubes and ESD tubes - recommended by jialichuang
- Spreadjs 15.1 CN and spreadjs 15.1 en
- What is a humble but profitable sideline?
- China Jinmao online electronic signature, accelerating the digitization of real estate business
- C# 反射与Type
猜你喜欢

698. Divided into k equal subsets ●●

Problem solving win10 quickly open ipynb file

Neural structured learning - Part 2: training with natural graphs

How to rotate the synchronized / refreshed icon (EL icon refresh)

MySQL delete uniqueness constraint unique

698. 划分为k个相等的子集 ●●

Laser slam learning record

【二叉搜索树】增删改查功能代码实现

Zhongjun group launched electronic contracts to accelerate the digital development of real estate enterprises

Attacking technology Er - Automation
随机推荐
20220703 周赛:知道秘密的人数-动规(题解)
教你在HbuilderX上使用模拟器运行uni-app,良心教学!!!
21.PWM应用编程
Go language introduction detailed tutorial (I): go language in the era
yate. conf
如何获取localStorage中存储的所有值
4点告诉你实时聊天与聊天机器人组合的优势
Introduction to JVM
Spécifications techniques et lignes directrices pour la sélection des tubes TVS et ESD - Recommandation de jialichuang
C# 文件与文件夹操作
698. 划分为k个相等的子集 ●●
What is a humble but profitable sideline?
ts类型声明declare
[EF core] mapping relationship between EF core and C data type
How to improve eloquence
shardingsphere源码解析
Difference between out of band and in band
Spreadjs 15.1 CN and spreadjs 15.1 en
In C#, why can't I modify the member of a value type instance in a foreach loop?
PV静态创建和动态创建