Telerik Forums
Fiddler Forum
0 answers
62 views

I knoiw a chrome plugin uses proxy for its communication

Can fiddler intercept that?

Borni
Top achievements
Rank 1
 asked on 23 Jan 2019
6 answers
249 views

Hello, I followed the instructions, but got the below exception - 

$ mono fiddler.exe
WARNING: The Carbon driver has not been ported to 64bits, and very few parts of Windows.Forms will work properly, or at all
Stacktrace:
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Windows.Forms.XplatUICarbon.CGDisplayBounds (intptr) [0x00002] in <556a6ba2c0a546f1ad2318c309ce0945>:0
  at System.Windows.Forms.XplatUICarbon.get_WorkingArea () [0x00005] in <556a6ba2c0a546f1ad2318c309ce0945>:0
  at System.Windows.Forms.XplatUICarbon.get_VirtualScreen () [0x00000] in <556a6ba2c0a546f1ad2318c309ce0945>:0
  at System.Windows.Forms.XplatUI.get_VirtualScreen () [0x00000] in <556a6ba2c0a546f1ad2318c309ce0945>:0
  at System.Windows.Forms.Screen..cctor () [0x00034] in <556a6ba2c0a546f1ad2318c309ce0945>:0
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) [0x0001e] in <98fac219bd4e453693d76fda7bd96ab0>:0
  at <unknown> <0xffffffff>
  at System.Windows.Forms.Form.get_CreateParams () [0x00157] in <556a6ba2c0a546f1ad2318c309ce0945>:0
  at System.Windows.Forms.Control.CreateHandle () [0x0002a] in <556a6ba2c0a546f1ad2318c309ce0945>:0
  at System.Windows.Forms.Form.CreateHandle () [0x00000] in <556a6ba2c0a546f1ad2318c309ce0945>:0
  at System.Windows.Forms.Control.CreateControl () [0x00039] in <556a6ba2c0a546f1ad2318c309ce0945>:0
  at System.Windows.Forms.Control.SetVisibleCore (bool) [0x00057] in <556a6ba2c0a546f1ad2318c309ce0945>:0
  at System.Windows.Forms.Form.SetVisibleCore (bool) [0x00065] in <556a6ba2c0a546f1ad2318c309ce0945>:0
  at System.Windows.Forms.Control.set_Visible (bool) [0x00009] in <556a6ba2c0a546f1ad2318c309ce0945>:0
  at System.Windows.Forms.Control.Show () [0x00000] in <556a6ba2c0a546f1ad2318c309ce0945>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.Show () [0x00031] in <556a6ba2c0a546f1ad2318c309ce0945>:0
  at Fiddler.frmViewer.‹• (string[]) [0x00081] in <09623c708fdb40a483cea147bbea7a7f>:0
  at Fiddler.frmViewer.‡• (string[]) [0x00016] in <09623c708fdb40a483cea147bbea7a7f>:0
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) [0x0004e] in <09623c708fdb40a483cea147bbea7a7f>:0
exception inside UnhandledException handler: The type initializer for 'System.Windows.Forms.Screen' threw an exception.


[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Windows.Forms.Screen' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at (wrapper managed-to-native) System.Windows.Forms.XplatUICarbon.CGDisplayBounds(intptr)
  at System.Windows.Forms.XplatUICarbon.get_WorkingArea () [0x00005] in <556a6ba2c0a546f1ad2318c309ce0945>:0 
  at System.Windows.Forms.XplatUICarbon.get_VirtualScreen () [0x00000] in <556a6ba2c0a546f1ad2318c309ce0945>:0 
  at System.Windows.Forms.XplatUI.get_VirtualScreen () [0x00000] in <556a6ba2c0a546f1ad2318c309ce0945>:0 
  at System.Windows.Forms.Screen..cctor () [0x00034] in <556a6ba2c0a546f1ad2318c309ce0945>:0 
   --- End of inner exception stack trace ---
  at System.Windows.Forms.MessageBox+MessageBoxForm.InitFormsSize () [0x00002] in <556a6ba2c0a546f1ad2318c309ce0945>:0 
  at System.Windows.Forms.MessageBox+MessageBoxForm.RunDialog () [0x0000f] in <556a6ba2c0a546f1ad2318c309ce0945>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.MessageBox+MessageBoxForm.RunDialog()
  at System.Windows.Forms.MessageBox.Show (System.Windows.Forms.IWin32Window owner, System.String text, System.String caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon) [0x0000b] in <556a6ba2c0a546f1ad2318c309ce0945>:0 
  at Fiddler.FiddlerApplication.DoNotifyUser (System.Windows.Forms.IWin32Window ownerWnd, System.String sMessage, System.String sTitle, System.Windows.Forms.MessageBoxIcon oIcon) [0x0002c] in <09623c708fdb40a483cea147bbea7a7f>:0 
  at Fiddler.FiddlerApplication.DoNotifyUser (System.String sMessage, System.String sTitle, System.Windows.Forms.MessageBoxIcon oIcon) [0x00000] in <09623c708fdb40a483cea147bbea7a7f>:0 
  at Fiddler.FiddlerApplication.ReportException (System.Exception eX, System.String sTitle, System.String sCallerMessage) [0x001a4] in <09623c708fdb40a483cea147bbea7a7f>:0 
  at Fiddler.FiddlerApplication.ReportException (System.Exception ‚) [0x00006] in <09623c708fdb40a483cea147bbea7a7f>:0 
  at Fiddler.frmViewer.• (System.Object, System.UnhandledExceptionEventArgs •) [0x00006] in <09623c708fdb40a483cea147bbea7a7f>:0 

Simeon
Telerik team
 answered on 21 Jan 2019
1 answer
129 views

Hey everyone, I am new to this forum. I've been capturing HTTPS traffic of my web browser without a problem. Now I want to test my command line application which makes requests to an HTTPS server. I've installed FiddlerRoot.cer on my Windows machine, browsers work fine but my app doesn't. It gives handsahke error. I guess I need to provide some certificate to my HttpClient in the code. I don't have deep experiences with certificates and certificate types. Dart language guidelines explains some points but I can't understand. As far as I see, Dart accepts PKCS#12.

 

Dart tutorial for using certificates: https://dart-lang.github.io/server/tls-ssl.html

My code question on the StackOverflow: https://stackoverflow.com/questions/54278013/certificate-error-when-analyzing-https-traffic-with-fiddler

Simeon
Telerik team
 answered on 21 Jan 2019
7 answers
460 views

Just wanted to point out you need to run the 32-bit version of mono to get this to launch without errors.  The maintainers should probably point out that on the Mac download page.

 

To run it, you need to do a:

 

'mono --arch=32 Fiddler.exe'

Yevhen
Top achievements
Rank 1
 answered on 21 Jan 2019
2 answers
5.7K+ views

Dear all expert users,

I work with a web app having a specific issue working with Edge browsers. To inspect what happens, I wanted to monitor and debug with Fiddler, but I just can't make my Edge browser communicate with Fiddler2. My environment looks like this:

* Microsoft Edge 38.14393.0.0; proxy settings: Automatic
* Windows 10
* Fiddler v4.6.3.44034
* disabled Windows Firewall.

(1) Browsing in Edge with Fiddler off:
I can surf about as desired.

When I now inspect Edge proxy settings, they are set not to use a proxy. This is as expected.

(2) Starting Fiddler and trying again:

Any attempts to load a web page makes Edge complain, it can not connect to the proxy server (Fiddler). 

This time, Edge proxy settings were changed after Edge restart. Now it's set to use 127.0.0.1:8888 for HTTP and HTTPS, as expected. 

If I try opening another browser session from Fiddler, IE works well and Chrome works well. Only Edge does not connect to the proxy..

 

I read other threads on this forum, and found suggestions this might happen because of windows firewall, possibly even some hard coded matter in the firewall. However, as I stated above: My problem persist even with firewall turned on or off. Therefore my conclusion: Edge and Fiddler don't cooperate, and it has not to do with the firewall settings.

Uless of course, anyone is able to explain to me what happens or how to make things work. (It would typically be some simple setting I have got wrong, for sure.. You'd make me really happy, if you made me understand. :-)

 

Cheers,

Aril

Elliott
Top achievements
Rank 1
 answered on 15 Jan 2019
0 answers
908 views

I have 2 pc in my home and 1 mac

All 3 are connected to the same router.

The mac has wifi hotspot, so I connect iphone with mac wifi.

When I connect iphone with fiddler on mac (virtual machine win 10) it works fine.

But when I connect iphone with fiddler on a windows pc. It doesnt work at all.

This used to work for me when I had another modem. 

So router:
pc1
mac


Iphone wifi mac ->fiddler mac (virtualbox ok)

iphone wifi mac -> fiddler pc  ( not ok )

 

This used to work for me, but I dont know why It doesnt work anymore, Im sure it has to do with the router/modem
Before was a motorola now its a shitty thompson

Leos
Top achievements
Rank 1
 asked on 15 Jan 2019
3 answers
349 views

Having an issue maybe I just need some ideas how to check.. have this mobile app that gets pushed a notification somehow to pull requests from a service (api), I have configured a fiddler proxy as the only means for the device having the app to reach the internet.  When a notification comes so the app can reach for info I don't see any evidence of this on fiddler session logs, is there any way of seeing this somewhere without having to use more tools like wireshark? reason is https decryption seems little more complex there.  Next issue is once the app reaches for info and send the request (the app does the request multiple times over a period of time to get the most updated info while waiting for user's action), and I'm tampering the response making sure I use "oSession.bBufferResponse = true;" in the "OnPeekAtResponseHeaders" for that method so response is not streamed to the client first then changing the response in the "OnBeforeResponse" method but it seems by visual observations the modified response doesn't get passed to the client until the 2nd or 3rd request, sometime you can observe the response displayed in the client is the unmodified one even though in the logs I can see I successfully tampered all the responses for all the requests.  I'm looking for ideas on how to realize if I'm doing something wrong.

Thanks for whoever can give me a hand.

Simeon
Telerik team
 answered on 09 Jan 2019
5 answers
2.2K+ views

I would like to connect to a HTTP Proxy with Fiddler Core.

I'm using the 

oSession['X-OverrideGateway'] = "HOSTNAME:PORT"

code to do it.

Now authentication is needed for the proxy. I see in other question a solution. It says:

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

Where the hash at the end is the Base64 coding of the 'username:password'

My question about this workaround:

 
It results a HTTP_PROXY_AUTHORIZATION HTTP header to my requests. Not just from fiddler to the proxy, but also from the proxy to the web.
Shouldn't it be removed by the proxy? As it says here? https://tools.ietf.org/html/rfc7235#section-4.4
Is there a workaround with FiddlerCore so I can connect a HTTP Proxy with credentials without HTTP headers?

NOTE:

When I use Proxifier to connect the same proxy it works without the headers being visible by the websites

Simeon
Telerik team
 answered on 07 Jan 2019
4 answers
115 views

Hi,

is it possible to change the location of listeningProcess.txt?

I think it would be good to locate that file in the users home folder or in /tmp.

 

If this file is stored with the exe file, it is not possible to install fiddler in /bin and run without root privileges.

 

Kind Regards

Benjamin

Jithin
Top achievements
Rank 1
 answered on 24 Dec 2018
5 answers
1.3K+ views

Hi there,

can you help me? I want to search and replace ainside a html-file.

It means there is a request like "index.html" and than I want to replace a part of this with a local snippet and at the end it should be delivered to the brower as "the respond"

 

At the Moment I write a Funktion and call it

*script:TestFunc

It is called because I see a log, but I do'n't know what's next :-/

Thanks!

 

Cya

Dominic

Ravinder
Top achievements
Rank 1
 answered on 21 Dec 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?