Configuring Fiddler to use company network's proxy?

49,002

Solution 1

Note: There is an answer with a higher voting available. Because of SO sorting it is below the accepted answer.

I had the same problem, too, and solved it like this:

  1. Started Fiddler with it's standard configuration.
  2. Started IE and made a HTTP-request to an external web-site.
  3. The proxy authorization dialogue popped up, where I entered my credentials.
  4. In Fiddler searched the request headers for "Proxy-Authorization".
  5. Copied the header value which looked like "Basic sOMeBASE64eNCODEdSTRING=" to the clipboard.
  6. Altered the CustomRules.js with the following line within OnBeforeRequest:

    oSession.oRequest["Proxy-Authorization"] = "Basic sOMeBASE64eNCODEdSTRING=";

So my approach was quite similar to yours just that in advance I checked what kind of proxy authorization the server required by using Fiddler to debug the authorization header. That way I found out I had to add "Basic" before the Base64 encoded credentials and I didn't even have to use the tool to encode the credentials to Base64. Just copied the value from the proxy authorization header.

Solution 2

What worked for me was much more simpler:

Rules > Automatically Authenticate

Solution 3

My Answer is simple. If your company proxy is NTLM, download ,setUp and configure cntlm. Route your fiddler to cntlm port by setting proxy settings.

Done! that is how i configured fiddler in my company

Share:
49,002
Ryan Peters
Author by

Ryan Peters

I absolutely love what I do and it is my passion. At my current position, I worked primarily using Microsoft technologies to create and maintain client-facing and internal web applications used throughout the company. All applications leveraged ASP.NET/C#, the MVC framework, WCF/ASMX/REST web services in a SOA, custom DAL wrappers, with SQL server as a storage tier. By night I'm a father of two amazing (also hectic). I also enjoy playing music and PC gaming.

Updated on July 09, 2022

Comments

  • Ryan Peters
    Ryan Peters almost 2 years

    I'm trying to get Fiddler to work with my company's proxy. Every external request is returning 407.

    So far I've tried adding oSession.oRequest["Proxy-Authorization"] = "YOURCREDENTIALS"; to the customized rules where I used my USERNAME:PASSWORD in base64. Still no luck.

    Any ideas? Thanks.