如何使用Fiddler监视Windows服务? [英] How to use Fiddler to monitor a Windows Service?

查看:115
本文介绍了如何使用Fiddler监视Windows服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

似乎Fiddler不会监视与Fiddler本身不在同一用户下运行的任何内容. 我想监视在Local System下运行的Windows服务.

It seems that Fiddler will not monitor anything that's not run under the same user as Fiddler itself. I would like to monitor a Windows Service which is run under Local System.

这可能吗?

推荐答案

我通过引用

I made it work by referring Is there a way to configure Fiddler to intercept HTTP calls from a Windows service?

Codeka提供了一条线索,可以使我朝正确的方向前进.这 仍然缺少的是如何配置代理.这 .exe.config需要具有类似以下内容的部分 添加:

Codeka provided a clue to get me going in the right direction. The piece that was still missing was how to get the proxy configured. The .exe.config needed to have a section like the following added:

<system.net>
        <defaultProxy enabled="true">
                <proxy proxyaddress="http://127.0.0.1:8888" bypassonlocal="False"/>
        </defaultProxy>
</system.net>

完成此操作后,Windows服务的http流量开始流动 通过提琴手.

Once this was done the Windows service's http traffic started flowing through Fiddler.

这篇关于如何使用Fiddler监视Windows服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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