Telerik Forums
Fiddler Forum
3 answers
304 views
I got a new machine and I added the code below according to this post. https://www.telerik.com/forums/remove-all-as-a-single-click-button-on-the-toolbar
Now after clicking on the BYE button, it clears the entries but Fiddler stops capturing anything from any site anymore. It only work once once I restart Fiddler.
It used to work on my old machine. I can't figure out what is different here.



 static function RemoveAll(s: Object, e: EventArgs)
    {
        FiddlerApplication.UI.lvSessions.Clear();                   
    }
    
    static function OnBoot() {
        
        try {
            for (var c in FiddlerApplication.UI.Controls)
            {
                if (c.GetType().Name == "ToolStrip")
                {
                    var ts: ToolStrip = c;
                    var tsi: ToolStripButton = new ToolStripButton("BYE!");
                    tsi.add_Click(RemoveAll)
                    ts.Items.Insert(0, tsi);
                }
            }
        } catch(e) { FiddlerApplication.Log.LogString(e); } 
        
    }
Boby
Telerik team
 answered on 05 Dec 2019
3 answers
3.1K+ views

Hello,

Is there any way to decrypt TLS 1.3 yet? Some app's have started using TLS 1.3 only, so proxying my phone through Fiddler leaves me with undecryptable tunnels only.

 

An example of such a capture is attached.

 

Best regards,

Jack

Eric R | Senior Technical Support Engineer
Telerik team
 answered on 04 Dec 2019
4 answers
461 views
Is there a way to have Fiddler not update the FiddlerScript rules file (CustomRules.js) in case the file contains any errors?

I use Fiddler to block some traffic, but in case the rules file contains even a small error, then Fiddler will drop all the rules inside the file and allow all traffic to pass.

The best solution would be to first check the validity of the file, and only update it in case it contains no error at all.

I woulnd't mind automating this through a Perl script, but I still need a way to interogate Fiddler over the validity of the file.

In case there is no easy way to do this, my only option would be to write a Perl script that will initiate a web connection that is supposed to be blocked by Fiddler. In case it is not blocked, I can only assume the rules file I had just updated right before initiating the connection contains an error. In this case, the Perl script would kill Fiddler, replace the rules file with the previous version, and restart Fiddler. Everything should not take more than just a few seconds. This way, even if the file is not valid, Fiddler will continue to apply the rules (and block the traffic I need to filter out). My only problem with this solution is that it will take me some time to code it. I am looking for a more elegant, quicker way to do it.

Thank you,

Alex
Alex
Top achievements
Rank 1
Iron
Iron
 answered on 03 Dec 2019
10 answers
2.5K+ views

Hi guys

We use ninitepro which runs in the background and updates applications like Chrome/Adobe etc on our computers. Since it doesn't have an active window I can't see what it is connecting to via Fiddler and I'm trying to figure out how to enable scanning of background processes so Fiddler will pick it up.

Thanks

Gerry

Eric R | Senior Technical Support Engineer
Telerik team
 answered on 02 Dec 2019
6 answers
2.7K+ views

My aim is to log all requests coming to IIS10 server on the Windows Server 2016 from any customer.

A request is called with the port 80. Fiddler should redirect all requests to IIS on the port 8888. 

I made all steps described by Eric Lawrence:

If you want Fiddler to capture traffic coming *in* to your IIS server and going *out* from your IIS server, then you need to run Fiddler in both reverse proxy mode and normal proxy mode. First, get Fiddler capturing the traffic coming out from your IIS server (by editing machine.config & setting the proxy settings for WinHTTP to 127.0.0.1:8888, etc). Then, move your IIS instance to a different port (8080) and configure Fiddler to listen on port 80 as well (e.g. type !listen 80 in QuickExec to set up a second listening endpoint). In FiddlerScript, you then need to forward requests received on port 80 to your IIS instance (8080).

source https://www.telerik.com/forums/capture-all-iis-traffic-on-the-web-server

I see endless loop of requests sent from Fiddler to IIS. Only one request is sent from a client machine( tested also with Fiddler). Also after I disable "Capture Traffic" the outgoing requests to IIS are logged in Fiddler. 

Configuration

IIS domain binding set to the port 8888

Machine.config

<system.net>
    <defaultProxy>
        <proxy autoDetect="false" bypassonlocal="false" proxyaddress="http://127.0.0.1:8888" usesystemdefault="false" />
    </defaultProxy>
</system.net>

Custom rules in Fiddler:

if (oSession.host == "xxx.com:80") 
{
oSession.host = "xxx.com:8888";
}

Allow remote computers to connect set to true in Fiddler.

What can be wrong in the configuration?

 

 

 

 

 

Eric R | Senior Technical Support Engineer
Telerik team
 answered on 02 Dec 2019
4 answers
1.1K+ views

Hi there!

 

How to configure fiddler in non-proxy mode?? So it listens to ALL http(s) connections from EVERY application that uses that protocol? Like wireshark...

Is that possible, i think not, right?

Thx for feedback.

 

Regards,

Jan

Jan
Top achievements
Rank 1
 answered on 01 Dec 2019
1 answer
1.2K+ views

Hello. I am changing the post request body through a script:

static function OnBeforeRequest(oSession: Session) {
        
        if (oSession.fullUrl=="https://www.example.com/api/v1/device") {
            var rep = System.IO.File.ReadAllBytes("replace.txt");  
            oSession.requestBodyBytes = rep;
        }

 

If I do not change the request body, the server accepts it (301). If I use a script, the server throws an error (401). The data in replace.txt is completely identical to the data from the original request that the server accepts. What could be the problem?

Peter84
Top achievements
Rank 1
 answered on 30 Nov 2019
1 answer
479 views
When trying to start Fiddler Everywhere on my Mac I get this:


18:21:10.268 › [Product information] Progress Telerik Fiddler 0.5.0
18:21:10.288 › [System information] Darwin MacBook-Air.local 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64 x86_64
18:21:10.408 › Initializing splash screen.
2019-11-25 18:21:10.593 Progress Telerik Fiddler[25804:80887] *** WARNING: Textured window <AtomNSWindow: 0x7fd2504d1b10> is getting an implicitly transparent titlebar. This will break when linking against newer SDKs. Use NSWindow's -titlebarAppearsTransparent=YES instead.
18:21:10.647 › Attempting to run server - 5 attempts left.
18:21:10.648 › Generating random port.
18:21:10.648 › Trying to start server at port [35909].
18:21:13.489 › Fetching .NET Core server status.
18:21:13.510 › Error occurred while fetching .NET Core server [35909] status. Error message: getaddrinfo ENOTFOUND localhost
18:21:13.511 › Attempting to run server - 4 attempts left.
18:21:13.511 › Generating random port.
18:21:13.512 › Trying to start server at port [28828].
18:21:15.757 › Fetching .NET Core server status.
18:21:15.761 › Error occurred while fetching .NET Core server [28828] status. Error message: getaddrinfo ENOTFOUND localhost
18:21:15.761 › Attempting to run server - 3 attempts left.
18:21:15.762 › Generating random port.
18:21:15.763 › Trying to start server at port [57314].
18:21:20.045 › Fetching .NET Core server status.
18:21:20.051 › Error occurred while fetching .NET Core server [57314] status. Error message: getaddrinfo ENOTFOUND localhost
18:21:20.051 › Attempting to run server - 2 attempts left.
18:21:20.052 › Generating random port.
18:21:20.053 › Trying to start server at port [57415].
18:21:24.882 › Fetching .NET Core server status.
18:21:24.887 › Error occurred while fetching .NET Core server [57415] status. Error message: getaddrinfo ENOTFOUND localhost
18:21:24.887 › Attempting to run server - 1 attempts left.
18:21:24.888 › Generating random port.
18:21:24.888 › Trying to start server at port [10561].
18:21:31.871 › Fetching .NET Core server status.
18:21:31.876 › Error occurred while fetching .NET Core server [10561] status. Error message: getaddrinfo ENOTFOUND localhost
18:21:31.876 › Attempting to run server - 0 attempts left.
18:21:31.877 › Maximum number of attempts reached - quitting application.
18:21:31.900 › Generating random port.
18:21:31.900 › Trying to start server at port [55810].

My hosts file is the default one so I'm not sure what the error cause is.
Eric R | Senior Technical Support Engineer
Telerik team
 answered on 27 Nov 2019
4 answers
8.6K+ views

I just installed the latest Fiddler4 on Windows 10 and enabled HTTPS decrypt, but no HTTPS traffic is captured.

Anything to do with firewall or cert? Thanks.

Eric R | Senior Technical Support Engineer
Telerik team
 answered on 27 Nov 2019
1 answer
748 views
I want replace this hex  values with another. How make it?
Eric R | Senior Technical Support Engineer
Telerik team
 answered on 27 Nov 2019
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?