如何拦截客户端机器的 HTTP 请求和响应(就像 fiddler 一样) [英] How to intercept HTTP requests and responses of a client machine (like fiddler does)

查看:24
本文介绍了如何拦截客户端机器的 HTTP 请求和响应(就像 fiddler 一样)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我认为拦截请求的唯一方法是使用代理,但是 fiddler 以某种方式可以拦截 HTTP 请求和响应,而无需在任何浏览器上进行任何配置.

I thought that the only way to intercept a request is to use a proxy, but fiddler somehow can intercept HTTP requests and responses without configuring anything on any browsers.

幕后发生了什么?

你知道有什么图书馆可以做到这一点吗?(任何语言)

And do you know any library to do that ? (In any languages)

推荐答案

Fiddler 实际上确实使用了代理.我相信安装程序会自动将 IE 配置为使用 Fiddler 的代理.您还可以将其他浏览器配置为通过同一个代理,这样 Fiddler 也会分析它们的网络流量.

Fiddler actually does use a proxy. I believe the installer automatically configures IE to use Fiddler's proxy. You can also configure other browsers to go through the same proxy, so Fiddler will profile their network traffic too.

更多信息这里

这篇关于如何拦截客户端机器的 HTTP 请求和响应(就像 fiddler 一样)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆