如何使用Fiddler监视Windows服务?

如何使用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.