Telerik Forums
Fiddler Forum
24 answers
710 views

From your website, I downloaded mono framework and fiddler-mac in SnowLeopard.

After installing mono and doing /Library/Frameworks/Mono.framework/Versions/4.6.2/bin/mozroots --import --sync, I extracted the zip file in the document folder. In terminal, cd to the folder and type mono Fiddler.exe, then following error occured:

exception inside UnhandledException handler: The type initializer for 'Fiddler.CONFIG' threw an exception.

[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Windows.Forms.WindowsFormsSynchronizationContext' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Windows.Forms.ThemeEngine' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Windows.Forms.ThemeWin32Classic' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Drawing.KnownColors' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: /Library/Frameworks/Mono.framework/Versions/4.6.2/lib/libgdiplus.dylib
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x000cc] in <1917aa1c39d94b1a91807b8cd9f03350>:0
   --- End of inner exception stack trace ---
  at System.Drawing.KnownColors..cctor () [0x0001a] in <1917aa1c39d94b1a91807b8cd9f03350>:0
   --- End of inner exception stack trace ---
  at System.Drawing.Color.get_AliceBlue () [0x00000] in <1917aa1c39d94b1a91807b8cd9f03350>:0
  at Fiddler.CONFIG..cctor () [0x00206] in <f7619d266c2c40b09be7fbc7f689415c>:0
   --- End of inner exception stack trace ---
  at System.Windows.Forms.ThemeVisualStyles..ctor () [0x00000] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.ThemeEngine..cctor () [0x0002d] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
   --- End of inner exception stack trace ---
  at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00000] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.Control..ctor () [0x000ea] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor ()
  at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
   --- End of inner exception stack trace ---
  at System.Windows.Forms.Control..ctor () [0x00014] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.ContainerControl..ctor () [0x0000e] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.Form..ctor () [0x00012] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at ..SetStyle (System.Windows.Forms.ControlStyles flag, System.Boolean value) [0x00000] in <f7619d266c2c40b09be7fbc7f689415c>:0
  at (wrapper remoting-invoke-with-check) .:.ctor ()
  at Fiddler.frmViewer.‹• (System.String[] ˆ•) [0x0004a] in <f7619d266c2c40b09be7fbc7f689415c>:0
  at Fiddler.frmViewer.‡• (System.String[] ˆ•) [0x00016] in <f7619d266c2c40b09be7fbc7f689415c>:0

Alexander
Telerik team
 answered on 06 Dec 2018
0 answers
103 views
Looking for proper thread-safe way to find/log current amount of unique connections (i.e. 1 ip is 1 connection)
Johnny
Top achievements
Rank 1
 asked on 05 Dec 2018
4 answers
526 views
Trying to set up the proxy on my pixel.  Followed the instructions, able to get to the fiddler echo page from my phone and installed the cert.  When I configure my phone's wifi to use the proxy I see the requests go out in fiddler but the phone reports back Connected, no internet.  That makes all future network calls revert to the cell data connection.  Has anybody experienced this before?
Simeon
Telerik team
 answered on 03 Dec 2018
1 answer
407 views
Receiving the following error from CertMaker when running the demo program.

Starting FiddlerCore/4.6.20181.13826 (Ionic.Zip, Version=1.9.1.8, Culture=neutral, PublicKeyToken=edbe51ad942a3f5c)...
** LogString: Setting upstream gateway to none
** LogString: Created endpoint listening on port 8877
** LogString: Gateway: None
Hit CTRL+C to end session.
** LogString: Assembly 'C:\temp\deloitte-symphony-cff-legal-holds\Deloitte.Symphony.LegalHolds.Selfie\Deloitte.Symphony.LegalHolds.Selfie\bin\Debug\CertMaker.dll' did not specify a RequiredVersionAttribute. Aborting load of Certificate Generation module.
** LogString: /Fiddler.CertMaker> Using .?+? for certificate generation; UseWildcards=True.
** LogString: Created secure endpoint listening on port 7777, using a HTTPS certificate for 'localhost'
Simeon
Telerik team
 answered on 30 Nov 2018
10 answers
1.9K+ views

Hello,

Just wanted to start off by stating that I know there is another discussion about this called "Silent or unattended install options?" but I am unable to reply to that thread as I keep encountering an error when I try.

From this thread though, I found you can do a silent install with /S switch.

I also found from Simeon's post that you can install to a specific directory with /D=C:\Program Files\Fiddler.

My issue is that when using these switches together, I am not getting the correct result. I am deploying Fiddler (v5.0.20181.14850) via an APPLICATION. I also tried to deploy as a package but was also having issues.

FiddlerSetup.exe /S /D=C:\Program Files\Fiddler - looks like the silent install is working but then the install will fail with error 0x87D00324(-2016410844). There is a Fiddler folder within program files but the .exe was not installed.
FiddlerSetup.exe /D=C:\Program Files\Fiddler /S -Incur pop up window to walk through the instillation. The default directory on the install is correct, but it is not silent.

 

When trying to install via package, I am trying the following :

FiddlerSetup.exe /S /D=C:\Program Files\Fiddler

Issue is that it looks like it installs successfully, I can find it within C:\Program Files\Fiddler but the doesn't actually install Fiddler, seems like it just places the install within that directory.

 

Miki
Top achievements
Rank 1
 answered on 28 Nov 2018
1 answer
568 views

I'm having an issue with an WinHTTP application I'm intercepting and modifying data for. I'm setting the WinHTTP proxy as a loopback to capture and modify the response, however the WinHTTP application checks for a loopback after the response and denies authorization if one is found.

I've tried setting the loopback, decoding the response, and right before sending my modified response, resetting the WinHTTP settings to default. The problem i'm facing is that this WinHTTP application actually polls the server twice in a row, so if I reset the proxy once, i need to set it again and then reset it again before modifying the response a 2nd time.

Is there a way I can delay the 2nd request so that I have enough time to reset and set the first one? I've tried using Thread.Sleep but that doesn't work. Thanks.

        void Start()
        {
            CaptureConfiguration.CaptureDomain = "https://toirplusvip.com/";

            SetWinHTTPProxy();

            FiddlerApplication.AfterSessionComplete += FiddlerApplication_AfterSessionComplete;
            FiddlerApplication.BeforeRequest += FiddlerApplication_BeforeRequest;
            FiddlerApplication.BeforeResponse += FiddlerApplication_BeforeResponse;
            FiddlerApplication.Startup(8877, false, true, true);
        }

        public void SetWinHTTPProxy()
        {
            var proc1 = new ProcessStartInfo();
            string anyCommand = "netsh winhttp set proxy 127.0.0.1:8877 \"<-loopback>\"";
            proc1.UseShellExecute = true;
            proc1.WorkingDirectory = @"C:\Windows\System32";
            proc1.FileName = @"C:\Windows\System32\cmd.exe";
            proc1.Verb = "runas";
            proc1.Arguments = "/c " + anyCommand;
            proc1.WindowStyle = ProcessWindowStyle.Hidden;
            Process.Start(proc1);
        }

        public void ResetWinHTTPProxy()
        {
            var proc1 = new ProcessStartInfo();
            string anyCommand = "netsh winhttp reset proxy";
            proc1.UseShellExecute = true;
            proc1.WorkingDirectory = @"C:\Windows\System32";
            proc1.FileName = @"C:\Windows\System32\cmd.exe";
            proc1.Verb = "runas";
            proc1.Arguments = "/c " + anyCommand;
            proc1.WindowStyle = ProcessWindowStyle.Hidden;
            Process.Start(proc1);
        }

        private void FiddlerApplication_BeforeResponse(Session oSession)
        {
            if (oSession.fullUrl.ToLower().Contains("toirplusvip.com/checklogin_vip_aimode2.php"))
            {
                Console.WriteLine(oSession.fullUrl.ToLower());
                Console.WriteLine("beeuty");
                oSession.utilDecodeResponse();
                var oBody = System.Text.Encoding.UTF8.GetString(oSession.responseBodyBytes);
                var epoch = (int)DateTime.UtcNow.Subtract(new DateTime(1970, 1, 1, 0, 0, 0)).TotalSeconds;
                var sessionID = "8763c665bc13e4ba56ee578c161dc1f4";
                String input = "rnd='&ret=" + sessionID + "&token=" + epoch + "&code=0";
                Console.WriteLine(input);
                Cryptography c = new Cryptography();
                String nBody = c.EncryptString(input, key, iv);

                ResetWinHTTPProxy(); // needs to be reset in between

                oSession.utilSetResponseBody(nBody);
                return;
            }
        }

Harry
Top achievements
Rank 1
 answered on 24 Nov 2018
1 answer
83 views

My specific role requires me to reinstall an operating system on my Window's Desktop once every other week. I am trying to write a batch/PowerShell script that does all my initial set up automatically. One thing that I am trying to automate is configuring Fiddler. Is their any way I can enable HTTPS decyption and allow all App Containers through a script?

I tried copying the files from %UserProfile%\Documents\Fiddler2  that remain after uninstalling with the option to keep your desired settings and then robocopy'ing them after I re-install Fiddler with no luck. Thank you in advance.

Alexander
Telerik team
 answered on 23 Nov 2018
3 answers
258 views

Q1. Fiddler Everywhere is Fiddler Orchestra?

Q2. Has the development of Fiddler Orchestra been interrupted?

Q3. Fiddler Everywhere supports mobile (Android / iOS) devices?

Alexander
Telerik team
 answered on 23 Nov 2018
1 answer
99 views

Hi,

I am trying to troubleshoot web services issue. When i try to call the http URL from the pc browser requests are not capturing in Fiddler. If i call the same URL from local machine browser requests are captured in Fiddler.

 

Can anyone please let me know what is the issue.

 

Regards,

Purushotha

Alexander
Telerik team
 answered on 22 Nov 2018
1 answer
204 views

Hi,

I'm trying to capture request from https://management.azure.com/ but for some reason, I see the requests in the developer tools but not in .

 

I'm running Windows 10

Fiddler Info
v5.0.20182.28034 for .NET 4.6.1
Built: Wednesday, June 27, 2018

64-bit AMD64, VM: 1,578.0mb, WS: 508.0mb
.NET 4.7.1 WinNT 10.0.17763.0

 

Avi

Alexander
Telerik team
 answered on 22 Nov 2018
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?