Telerik Forums
Fiddler Forum
1 answer
211 views
can you confirm Log4j or Log4j2 being used in "Progress Software Telerik Fiddler 4"
Nick Iliev
Telerik team
 answered on 20 Dec 2021
1 answer
12.1K+ views

.NET application show error message below when I close Fidler program on Windows Server (Production Environment)

System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8888

If I open the Fidler program again, this error will be lost. I think this error occurred because the Filder does not roll back some settings after closing. So system still routes to 127.0.0.1:8888.

But after closing Fidler program I have checked the Internet option. It rollbacks properly (Use proxy server is unchecked).

Have other configuration that Fidler have changed? Or how to reset the proxy setting?

Currently, I work around by opening Filder program always.

Please help to solve this problem.

alexa
Top achievements
Rank 1
Iron
 answered on 07 Dec 2021
0 answers
172 views

I have Fiddler up and running on box A.  I can see all traffic from my local machine and my autoresponders are working as expected.

On my Android cell phone I have set up the network to use box A as proxy.  The pages are being rendered in the Android browser as expected and autoresponders are giving the correct data as expected, but none of the traffic is showing in the Fiddler UI.

Any idea?

Ed
Top achievements
Rank 1
 asked on 18 Nov 2021
1 answer
293 views

1.Downloaded, installed google drive file stream desktop application.

2.Tried to launch application and click on sign in button.

3.Then login page got opened over browser there asked for login credentials to authenticate.

4.Provided required credentials. then asked for sign in clicked on signin button

5.Login got succeeded but Failed to launch google drive file stream app when fiddler is opened to capture the traffic. 

6. Downloaded logs drive_fs enabling verbose mode in app settings.

7.Found curl 60 error as shown in attachment

8.When we see all logs observed ssl verification is done with C:\Program Files\Google\Drive File Stream\51.0.9.0\config\roots.pem

Is there any process or procedure to update certificate in above provided location to access app through fiddler?

Nick Iliev
Telerik team
 answered on 22 Sep 2021
0 answers
67 views

[FiddlerCore]

how to bind datagridview to  Oflags

i have oflag["Deviation"]. how do i bind this to a datagridview

            dataGridView1.Columns[0].Name = "id";
            dataGridView1.Columns[0].HeaderText = "id";
            dataGridView1.Columns[0].DataPropertyName = "id";
            dataGridView1.Columns[1].Name = "fullUrl";
            dataGridView1.Columns[1].HeaderText = "fullUrl";
            dataGridView1.Columns[1].DataPropertyName = "fullUrl";
            dataGridView1.Columns[2].Name = "LocalProcess";
            dataGridView1.Columns[2].HeaderText = "LocalProcess";
            dataGridView1.Columns[2].DataPropertyName = "LocalProcess";
            dataGridView1.Columns[3].Name = "oFlags";
            dataGridView1.Columns[3].HeaderText = "oFlags";
            dataGridView1.Columns[3].DataPropertyName = "oFlags[Deviation]";
           
            dataGridView1.AutoResizeColumn(0);
Chetan
Top achievements
Rank 1
 asked on 02 Aug 2021
2 answers
205 views

I am working on fiddler core with C#. But FiddlerApplication.Shutdown(); I don't think your command works. FiddlerApplication.Shutdown(); After the application, the internet access of the current computer is turned off. When the fiddler core application is closed, as in the picture I shared, internet access is cut off when the fiddlerapplication.shutdown command is applied.

How can I solve this problem?

 

For example, we cannot access any websites or internet when the internet is disconnect ;

 

Note: This problem happens when I close and open the program 3 or 5 times.

Lini
Telerik team
 answered on 21 Jul 2021
1 answer
86 views

Hello,

I have attached the source code of my work. When the program opens, it installs a certificate and asks such questions. I want it to install and pass the fiddler certificate without asking this question. Is it possible?

A "yes, no" screen appears like this while installing the certificate. I want it to install without asking. (Hidden Install Certificate) Is that possible?

Lini
Telerik team
 answered on 21 Jul 2021
0 answers
563 views

Hello everybody

i have this code in fiddlerScript :

        if(oSession.HostnameIs("example.com")) { 
            oSession.utilDecodeResponse();
            oSession.utilReplaceRegexInResponse('text-align: left; width: 120px;">[^<]*</span>','text-align: left; width: 120px;">xxxxxxxxx</span>');
            oSession.utilReplaceRegexInResponse('text-align: left; width: 145px;">[^<]*</span>','text-align: left; width: 145px;">yyyyyyyy</span>');

---------------------------------------

In the webpage there is more element that will begin like that :    text-align: left; width: 145px;

my question is : how can i replace only the first string that will seen on the webpage , not all  ?!?!

thanks !

eric
Top achievements
Rank 1
 asked on 16 Jul 2021
1 answer
500 views

i need to replace 2 dynamic values from a website ! everytime when i visit website i will see randomize numbers like a clock ! and i need to catch the values to replace with anothers. i attached a PART of the website to see it !

i have tryed this and not work :

 

  static function OnBeforeResponse(oSession: Session) {
        if (m_Hide304s && oSession.responseCode == 304) {
            oSession["ui-hide"] = "true";
        }
        if(oSession.HostnameIs("example.com"))
        {
            oSession.bBufferResponse = true;
            oSession.utilDecodeResponse();
        
            var pattern = '<SPAN
        id=ValueA class=CSItemLabel
        style="FONT-SIZE: 11px; HEIGHT: 17px; WIDTH: 120px; FONT-WEIGHT: bold; COLOR: green; PADDING-BOTTOM: 2px; TEXT-ALIGN: left; PADDING-TOP: 0px; PADDING-LEFT: 2px; DISPLAY: inline-block; PADDING-RIGHT: 0px; BACKGROUND-COLOR: #efefef\">(?<VAL>.*)</SPAN>';        
                    
            var sNewBody: Match = Regex.Match(oSession.GetResponseBodyAsString(),pattern);
            var valueA = sNewBody.Groups["VAL"].Value;

        
            pattern = '<SPAN id=ValueB
        class=CSItemLabel
        style="FONT-SIZE: 11px; HEIGHT: 17px; WIDTH: 145px; FONT-WEIGHT: bold; PADDING-BOTTOM: 2px; TEXT-ALIGN: left; PADDING-TOP: 0px; PADDING-LEFT: 2px; DISPLAY: inline-block; PADDING-RIGHT: 0px; BACKGROUND-COLOR: #efefef\">(?<VAL>.*)</SPAN>';
            var sNewBody2 : Match = Regex.Match(oSession.GetResponseBodyAsString(),pattern);
            var valueB = sNewBody2.Groups["VAL"].Value;
        
            var strContent = oSession.GetResponseBodyAsString().Replace(valueA,"99.614,99").Replace(valueB,"88.123,88");
        
            oSession.utilSetResponseBody(strContent);
        }
    }

 

also i tryed this :

if (oSession.HostnameIs("https://example.com) && oSession.url.EndsWith("etc.aspx"))
{   
   oSession.utilDecodeResponse();
   var sBody = oSession.GetResponseBodyAsString();
   sBody = Regex.Replace(sBody, "(<SPAN id=ValueA class=CSItemLabel[^>]+>)[^<]+", "$1 99.614,99");
   sBody = Regex.Replace(sBody, "(<SPAN id=ValueB class=CSItemLabel[^>]+>)[^<]+", "$1 88.123,88");
   oSession.utilSetResponseBody(sBody);
}
 

no success ! please help me somebody !

i attached the files to see it ! thanks in advice !

eric
Top achievements
Rank 1
 updated question on 14 Jul 2021
0 answers
333 views

I wrote a test program to check fiddlercore, the certificate installed, but HTTPS traffic is not captured, only HTTP. Exactly the same program captures HTTPS traffic fine on another edition of Windows 10 (Enterprise), but on Windows 10 home (2004) HTTPS traffic is not captured. Do I need to change any Windows settings to capture HTTPS traffic?

 

 

My program:


using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Fiddler;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.OutputEncoding = Encoding.UTF8;
            if (!CertMaker.rootCertIsTrusted())
            {
                var rootCertificatePassword = "Password1";
                BCCertMaker.BCCertMaker certProvider = new BCCertMaker.BCCertMaker();
                CertMaker.oCertProvider = certProvider;
                string rootCertificatePath = @"RootCertificate.p12";
                if (!File.Exists(rootCertificatePath))
                {
                    certProvider.CreateRootCertificate();
                    certProvider.WriteRootCertificateAndPrivateKeyToPkcs12File(rootCertificatePath, rootCertificatePassword);
                }
                if (File.Exists(rootCertificatePath))
                {
                    certProvider.ReadRootCertificateAndPrivateKeyFromPkcs12File(rootCertificatePath, rootCertificatePassword);
                }
                CertMaker.trustRootCert();
                if (CertMaker.rootCertIsTrusted())
                {
                    Console.WriteLine("Certificate is installed");
                }
                else
                {
                    Console.WriteLine("Certificate is not installed");
                }
                var settings = new FiddlerCoreStartupSettingsBuilder()
                .ListenOnPort(6666)
                .ChainToUpstreamGateway()
                .DecryptSSL()
                .OptimizeThreadPool()
                .RegisterAsSystemProxy()
                .Build();
                FiddlerApplication.Startup(settings);
                FiddlerApplication.AfterSessionComplete += session =>
                {
                    if (session != null)
                    {
                        Console.WriteLine(session.fullUrl);
                    }
                };
                Console.ReadLine();
            }
        }
    }
}

Denis
Top achievements
Rank 1
 asked on 07 Jul 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?