Telerik Forums
Fiddler Forum
1 answer
111 views

Our build team isn't too happy with our current consumption method.

We have purchased the enterprise license, so is there a fiddler core nuget that we could get access to?

I see there used to be one on nuget.org, but it's gone now...

 

Alexander
Telerik team
 answered on 17 Oct 2017
1 answer
814 views

Hi, 

For scenarios where we have vendors or customers that may want to share fiddler traces, is there a command or process we can have them put a fiddler trace through that would rip out all MSISAuth and MSISAuth1 header values (which will contain oAuth Access tokens)?

 

I'm aware of the ability to remove the headers during capture, but the scenario I'm looking to work on is where we already have a trace and want to be sure we're removing headers that carry access tokens in the request data and it isn't just one or two requests (let's say hundreds) otherwise I would just delete the header value manually. 

 

Thanks!

Simeon
Telerik team
 answered on 17 Oct 2017
0 answers
143 views

I am using fiddlercore in my C# windows application form but I'm really struggling to capture httprequest headers of certain website

My first issue is with the certificate, so whenever I visit any website while the application is running, it just says it's not secure.

My second issue is that I want to display POST headers that are being sent using web browser to the console, yet I've only managed to show me the website url

If there is any c# developer that could help me that would be great as this is a project I am doing in my spare time while learning this new programming language

David
Top achievements
Rank 1
 asked on 16 Oct 2017
0 answers
356 views

My target is to obtain a log file in real time using Fiddler, and extrapolate certain informations contained in the website, in my case, I need the Json when the expression begin with a specifc event or words.

I found the RTLogger of Eric Lawrence for the real time log, that works, after a little edit I did it on Visual Studio, the log file is created with all the information of the page (request, response, Html Code, etc.), so I need to "filter" or remove this useless information and keep only the JSON.

My code in CS project is:

using System;
using log4net;
using Fiddler;

[assembly: log4net.Config.XmlConfigurator(Watch=true)]
[assembly: Fiddler.RequiredVersion("2.4.5.0")]
namespace RTLogger
{
    public class RTLogger: IAutoTamper
    {
        private static readonly ILog log = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
        public void AutoTamperRequestAfter(Session oSession) { }
        public void AutoTamperRequestBefore(Session oSession) { }
        public void AutoTamperResponseAfter(Session oSession) { }
        public void AutoTamperResponseBefore(Session oSession)
        {
            log.InfoFormat("#{0}\t{1}\t{2}\t{3}\t{4}",
               oSession.id,
               oSession.fullUrl,
               oSession.responseCode,
               oSession.oResponse["JSON"],
               oSession.GetResponseBodyAsString()
               );
        }


       public void OnBeforeReturningError(Session oSession)
        {
            log.InfoFormat("#{0}\t{1}\t{2}",
               oSession.id,
               oSession.fullUrl,
               oSession.responseCode
               );
        }


        public void OnBeforeUnload()
        {
            log.Info("RTLogger Unloading");
        }


        public void OnLoad()
        {
            log.Info("RTLogger Loading");
            if (log.IsInfoEnabled) FiddlerApplication.AlertUser("RTLogger", "Logging is enabled");
        }
    }
}


It works, but as I told before, I have too many information, I need just the "JSON", in my case, I have:

2017-10-11 15:43:21,709 #65 http://tedme.cm.local/ted/direct/voice200{"action":"Connect","method":"retrieveDN","type":"rpc","tid":1,"result":{"success":true,"data":{"dnName":"0691387025","tServer":"TEST_ME","tServerHost":"megas01","tServerPort":3020,"bkpTServerHost":"megas02","bkpTServerPort":3020,"defaultQueue":"0691387099","serviceName":"119upout","tServerApplicationName":"SIPServer_TEST_ME_P","placeName":"WLACCW7ENN083","disasterRecoveryStatus":"0","switchDbID":140,"agentLogins":["8562973"],"employeeId":"X0233164","annexes":{"voice.outbound.wrap_up_time":"1000","voice.inbound.wrap_up_time":"10","voice.backoffice.wrap_up_time":"0"},"raoMode":"rao_italia","protocolCreationTimeout":0,"useProtocolCreationTimeout":false,"valid":true}}}

So in my case I need first of all delete all the HTML CODE and CSS information or keep just the response that starts with "action" or "connect" or other string.

My problem is that I don't know where I must insert this rules: in the fiddlerscript? in the CS project? In whick kind of way?

I try the replace in the fiddlerscript, but it gives me the same result with too many information.

I used:

// If content-type is HTML, then remove all DIV tags

if (oSession.oResponse.headers.ExistsAndContains("Content-Type", "html")){
// Remove any compression or chunking
oSession.utilDecodeResponse();var oBody = System.Text.Encoding.UTF8.GetString(oSession.responseBodyBytes);
// Replace all instances of the DIV tag with an empty string
var oRegEx = /<div[^>]*>(.*?)<\/div>/gi; oBody = oBody.replace(oRegEx, "");
// Set the response body to the div-less string
oSession.utilSetResponseBody(oBody);}

No luck with this code.

So, since I'm going crazy, do you have any ideas for help me?

Syd Chino
Top achievements
Rank 1
 asked on 13 Oct 2017
1 answer
256 views

Please let me know how to capture traffic from a remote Win 10 IoT device (e.g. Raspberry Pi 3 SBC)
using Fiddler in my PC. The approach for achieving this by for setting Win 10 IoT as a proxy, listed in 

the following link :

https://docs.microsoft.com/en-us/windows/iot-core/develop-your-app/fiddler

did not work. I was not able to find any other clues.

Thanks,

    Paul

Alexander
Telerik team
 answered on 12 Oct 2017
3 answers
477 views

Hi,

When i start Fiddler and go to Rules > Customize Rules in terminal following is get

The file /<location>/fiddler-mac/ScriptEditor/FSE2.exe does not exist

Currently have installed mono framework and fiddler from https://www.telerik.com/download/fiddler. Is something else needed?

Regards.

 

Simeon
Telerik team
 answered on 12 Oct 2017
3 answers
4.5K+ views

This is regarding an error I get every time I try to Refresh the list in the "AppContainer Loopback Exemption Utility" originally written by Eric Lawrence.

I have just installed Fiddler 4 (v4.6.20172.34691, built 2017-08-15) on Windows 10. Upon clicking the "WinConfig" button on the interface, it runs the utility asking for Elevated rights which I grant. The first time I ever ran it, it threw an "Orphaned Exemption Record Found” exception and continued to do so until I reset them by clicking "Except None" followed by "Save Changes."

However, the attached error has persisted. Text below for search indexing. :)

Warning: Unable to use NetIsoEnumAppContainers to get AppContainer list. Error Code: 0x3. Attempting manual registry crawl; some information will be unavailable.

Simeon
Telerik team
 answered on 12 Oct 2017
0 answers
97 views
Once i was using fiddler for online games, but today i can't use it anymore, why? Sorry for asking and bad english
Raditya
Top achievements
Rank 1
 asked on 10 Oct 2017
2 answers
241 views

I currently have the following setup:

Windows Machine (running both fiddler and a VPN server)   <------Connected through PPTP (VPN)-------> Mobile Phone

I have confirmed that the VPN connection works and is working as expected, however, on the Windows machine, is unable to pick up HTTP request initiated by the phone, only HTTP request initiated by the windows machine is captured.

 

Please advise.

 

Thanks in advance.

 

Best Regards,

Brandon

 

Brandon
Top achievements
Rank 1
 answered on 06 Oct 2017
0 answers
57 views

Hi, Everybody!...

I have a web service that constructs and emits an HTTPS request to a third party web service.  I downloaded the latest version of Fiddler.  How can I quickly configure Fiddler to capture the HTTPS request emitted by my web service?

Julio
Top achievements
Rank 1
 asked on 05 Oct 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?