当前位置:网站首页>使用 Fiddler Hook 报错:502 Fiddler - Connection Failed
使用 Fiddler Hook 报错:502 Fiddler - Connection Failed
2022-07-24 14:32:00 【Yy_Rose】
一般使用 Fiddler 插件进行 Hook 操作的流程如下: 
添加好代码后,F12 启动抓包,然后如下清除浏览器 Cookies,刷新页面即可完成注入:

但是这时并没有 Hook 住并打印数据,查看 Console 发现有如下报错 Fiddler - Connection Failed :

以上显示 Fiddler 连接失败,但是查看 Fiddler 中的抓包情况,也都是正常的,后来发现是开启了 Stream(流模式)的问题:

- 流模式(Streaming):Fiddler 会即时将 HTTP 响应的数据返回给应用程序,更接近真实浏览器的性能,时序图更准确,但是不能控制响应。
缓冲模式(Buffering):直到 HTTP 响应完成时才将数据返回到应用程序,可以控制响应,修改响应数据。
综上:开启流模式无法控制响应,修改相应数据,而 Hook 程序是在系统还没有调用函数执行前,就先捕获该消息,得到程序的控制权,改变函数的执行行为,在原方法前后加入自定义方法,从而实现对方法的重写,相当于修改了数据,所以,Hook 操作的时候不能开启 Stream!
边栏推荐
- C# unsafe 非托管对象指针转换
- Rasa 3.x learning series -rasa [3.2.4] - 2022-07-21 new release
- [oauth2] II. Authorization method of oauth2
- Multithreaded common classes
- The sliding window of Li Kou "step by step" (209. The smallest sub array, 904. Fruit baskets)
- Mmdrawercontroller gets the current VC for push and pop
- Learning and thinking about the relevant knowledge in the direction of building network security knowledge base
- The vs compiled application is missing DLL
- 字符串——28. 实现 strStr()
- 对话框管理器第二章:创建框架窗口
猜你喜欢

Don't lose heart. The famous research on the explosive influence of Yolo and PageRank has been rejected by the CS summit

电赛设计报告模板及历年资源

Solve the problem that the ARR containsobject method returns no every time

Simple understanding and implementation of unity delegate

bibliometrix: 从千万篇论文中挖掘出最值得读的那一篇!

Leetcode high frequency question 56. merge intervals, merge overlapping intervals into one interval, including all intervals

Number of bytes occupied by variables of type char short int in memory

TypeError: Cannot read property ‘make‘ of undefined

Mmdrawercontroller first loading sidebar height problem

Unity 委托 (Delegate) 的简单理解以及实现
随机推荐
IEEE Transaction期刊模板使用注意事项
Comparison of traversal speed between map and list
Detailed explanation of address bus, data bus and control bus
Centos7 installs Damon stand-alone database
交换
Fraud detection cases and Titanic rescued cases
Dialog manager Chapter 2: create frame window
IntelliSense of Visual Studio: 'no members available'
自动化渗透扫描工具
Production environment tidb cluster capacity reduction tikv operation steps
Rasa 3.x learning series -rasa [3.2.3] - new version released on July 18, 2022
Attributeerror: module 'distutils' has no attribute' version error resolution
Mini examination - examination system
2.4. properties of special profile
The difference and relation among list, set and map
TypeError: 'str' object does not support item assignment
LeetCode·每日一题·1184.公交站间的距离·模拟
Binlog and iptables prevent nmap scanning, xtrabackup full + incremental backup, and the relationship between redlog and binlog
[oauth2] II. Known changes in oauth2.1
After five years of contact with nearly 100 bosses, as a headhunter, I found that the secret of promotion was only four words