12998

How to use Fiddler to monitor a Windows Service?

Question:

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.

Is this possible?

Answer1:

I made it work by referring <a href="https://stackoverflow.com/questions/2917732/is-there-a-way-to-configure-fiddler-to-intercept-http-calls-from-a-windows-servi" rel="nofollow">Is there a way to configure Fiddler to intercept HTTP calls from a Windows service?</a>

<blockquote>

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>

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

</blockquote>

Answer2:

Plz, see this article. <a href="http://fiddler2.com/blog/blog/2013/01/08/capturing-traffic-from-.net-services-with-fiddler" rel="nofollow">http://fiddler2.com/blog/blog/2013/01/08/capturing-traffic-from-.net-services-with-fiddler</a> This article help me.

Answer3:

Another way is to run Fiddler as system. This will work for services which are written in .NET and C++

To do this, I found the following application very helpful: <a href="https://www.apreltech.com/Free/How_to_run_as_system_user" rel="nofollow">https://www.apreltech.com/Free/How_to_run_as_system_user</a>

Just launch this app and accept the elevated prompt Then just browse to where you have installed Fiddler and run it.

Fiddler will launch and you should be able to see traffic from services.

Recommend

  • How to create google chrome like install for my app? [duplicate]
  • Lock file for access on windows
  • error using selenium chromedriver on windows 7 64 bit
  • No session share and avoid navigation buttons in browser while opening application window
  • Who should create view model instances in MvvmCross
  • htaccess proxy to node app
  • Starting a javascript prompt after a button is clicked
  • How do I get feedback about DSC execution on an Azure VM?
  • Variable amount of columns returned in mysqli prepared statement
  • Restore PostgreSQL database using java
  • using php to create an xml file from a mysql db
  • Query URL for Log In Status, javascript
  • How can converting a pointer to `void*` twice be invalid?
  • Extract the data specified in brackets '[ ]' from a string message in python
  • Is there a function to calculate the difference between two times and display a relative result?
  • Forward slash vs backward slash for file path in git bash
  • device tree overlay phandle
  • Working with codeception and laravel
  • WSO2 Identity Server + Rest STS Client (without ESB)
  • Google Compute instance receiving email
  • Problems with special characters in php soap client
  • Adding horizontal slider to QTableWidget
  • Why do you need 2 Javascript files for cross-platform Cordova plugin?
  • Arraylist of strings into one comma separated string
  • Splitting ReportLab table across PDF page (side by side)?
  • Ember.js + JQuery-UI Tooltip - Tooltip does not reflect the model / controller changes
  • getting the class name of an HTML tag using XPATH
  • Problems using phonegap / cordova file plugin part 2 - synchronicity
  • Ruby regex for matching simpliest Ruby's regexes
  • How to include associated objects using gon in Rails/jQuery
  • Python 3x- Compression Makes File Bigger :(
  • matrix multiplication apache pig
  • Spring Boot fails to start
  • Unity3d lost directional light shadows after generate assetBundle (.unity3d file)
  • Grails - How to implement a foreign key relationship not using an id column?
  • How to use FirstOrDefault inside Include
  • PHP Permalinks.. how to change?
  • media foundation H264 decoder not working properly
  • Running R's aov() mixed effects model from Python using rpy2
  • Access to a Matlab gui from the web