Telerik Forums
Fiddler Forum
1 answer
225 views
if ( (oSession.host=="203.104.209.55") && (oSession.PathAndQuery.indexOf("/kcsapi/api_port/port")>-1) ){
        oSession["ui-bold"]="true";
        oSession["x-breakresponse"]="true";
        oSession.utilSetResponseBody("");
}

Above is what is have in OnBeforeResponse function.

However when I request this url,
1. the session won't be paused
2. although it shows in fiddler inspection that the response body is blank, I can still view the response body in my browser
3. the ui-bold works :(

If I enable the automatic breakpoint (alt+F11), and then continue the process. Both fiddler and my browser shows no response now.


Eric Lawrence
Telerik team
 answered on 09 Feb 2015
2 answers
485 views
Hello Eric, i've been racking my brains for the last few days figuring out why i cant sniff my twitter android app traffic anymore!



Basically what worked before was that i had simply installed fiddler proxy on my PC, exported the root certificate (and added it to my android devices CA storage), then i installed cydia's mobile substrate and Android-SSL-TrustKiller because apparently the twitter apk uses certificate pinning that needs to be bypassed in order to properly MitM the app. I set my android wifi proxy settings to the same ip:port as the machine that fiddler is listening on.



Unfortunately this does not work anymore and im left unable to properly read twitters app traffic, whereas googleplay, facebook, instagram, etc etc all work fine. It had worked fine until a few days ago. I hadn't updated my twitter app either so im just not sure how it could have broke itself.



I tried proxydroid (which uses iptables i believe), and fiddler showed attempts at connecting to one of twitters ip, but it never goes through (i believe this is an issue with the IP not resolving to the host-name correctly, which causes certificate name mismatch errors)

With standard wifi proxy tuned to fiddler, i dont see ANY requests.  With proxydroid, i see this http://gyazo.com/6792f884e1f88453a8cacb1632d0b3d5
(tones of CONNECTS and cert mismatches, despite having imported fiddlerroot into CA storage.


I'm incredibly vexed...i need someone who can help me properly diagnose and fix this issue.



If it helps, im on a SGS3 android version 4.1.2 (I even tried genymotionemulator, yielding the same results).
dies
Top achievements
Rank 1
 answered on 07 Feb 2015
1 answer
1.5K+ views
Hello!

I have a problem with changing path of request.

I have url:
http://54.56.212.65/Test/ServerTest.do?protocol-version=9&client-login=7d29289c8fad51063e9b3c85cc1a69b4
And I need to change IP with a Path to:
http://12.62.52.32/Release/Server.do?protocol-version=9&client-login=7d29289c8fad51063e9b3c85cc1a69b4

But 'client-login' changing every time after request.
So oSession.PathAndQuery not work.
//
        if (oSession.host=="54.56.212.65") {
            oSession.host="12.62.52.32";

        if (oSession.PathAndQuery=="/Release/ServerTest.do") {
            oSession.PathAndQuery = "/Test/Server.do";
//
How can I change only Path and filename without checking values after '.do'?
Doesn't work...
Help please.(


Vladimir
Top achievements
Rank 1
 answered on 07 Feb 2015
1 answer
887 views
RT

Hello, all.

My PC has 2 network interface. One for wired network and one for wireless. I want to use fiddler as a proxy for debuging my mobile app(through wireless network). But I find the network speed is very slow at this situation. And all things become right if I disable the wired network interface. But I need the wired network on when I am debuging.

Could someone help? THX
Eric Lawrence
Telerik team
 answered on 05 Feb 2015
2 answers
308 views
Hi there

I want in c# to change the responce of the server using fiddlercore, I know i can do it like this

oS.utilReplaceInResponse("Microsoft", "Bayden");

BUT what happens if i want to change some dynamic text data between tags to something that is always the same like

oS.utilReplaceInResponse("<version>this can be 5,6,7,8 and change every month</version>", "<version>5</version>");

I want to be able to replace the text or number between some tags that might change over time to always return 5

i have tried with .? with * with .* and they all fail how do i do this ?

cheers
Eric Lawrence
Telerik team
 answered on 02 Feb 2015
3 answers
144 views
Hi, is there a way to have HTTPs option be turned on during setup, or via an extension ?
Similarly for Win8 exclusions ?

The scenario is using Fiddler for diagnosing HTTPS issues for users that may not be very technical and for whom the manual steps for turning on HTTPs and Win8 exclusions are error prone. But having them execute a script that installs fiddler and an extension is lower bar and less error prone.

Thanks
Eric Lawrence
Telerik team
 answered on 02 Feb 2015
4 answers
1.3K+ views
Hi Eric,

          I have created sample app(Console App in c#) with Selenium Webdriver and BrowserMob Proxy. BrowserMob Proxy has method which return response,i'm write response to a file as follow using below code
               Server server = new Server(<proxy path>);
                server.Start();
                Client client = server.CreateProxy();
                client.NewHar("google");
                var seleniumProxy = new Proxy { HttpProxy = client.SeleniumProxy };                
                var profile = new FirefoxProfile();
                profile.SetProxyPreferences(seleniumProxy);
                IWebDriver driver = new FirefoxDriver(profile);  
               driver.Navigate().GoToUrl(<url>);
              // below harData has response
               HarResult harData = client.GetHar();
               System.IO.File.WriteAllText(<file path>, JsonConvert.SerializeObject(harData, Formatting.Indented));


              Is it possible to do same thing with Selenium Webdriver and Fiddler.

Thanks,
Avinash.

















Eric Lawrence
Telerik team
 answered on 30 Jan 2015
2 answers
98 views
I installed Fiddler several months ago (Windows 7) and didn't use it much. I uninstalled it. In the last few days, my Trusteer app has been complaining that some websites I normally visit have a bad certificate.  I have searched all files and the registry on my computer and can't find any residual Fiddler files. I deleted the root and other certificates labeled "DO_NOT_TRUST ..." But, I'm still getting this error (see attached.) Same behavior in IE and Chrome. Something is stuck. Please advise how to remove and restore normal operation.

Tia
Robert
Top achievements
Rank 1
 answered on 27 Jan 2015
6 answers
179 views
I can no longer see the traffic from the chrome browser, i have checked for filters etc and there are none.
As you can see from the image attached the chrome browser is not showing could this be the reason and if so what is the fix.
Eric Lawrence
Telerik team
 answered on 27 Jan 2015
9 answers
1.5K+ views
Hi. I use windows 8.1 and need to debug my traffic from winstore apps to remote server. 

I sucessfully used fiddler for these purposes, but it unexpectedly stopped working.
 
Now I see next situation: after running fiddler all my winstore apps unable to send data to remote server. 
From my app I see that after submitting data simply nothing happens. After timeout expired, I get httpexception.

Of course, I know about windows 8 restrictions for winstore apps regard local traffic. And I've used enable loopback utility for this case. 
But recently it stopped work with strange behavior: on start app sucessfully got installed applications list, but unable to refresh it. 
When I press "Refresh" button, I got next error:
Unable to use NetIsoEnumAppContainers to get AppContainer list.
Error Code: 0x5

Attempting manual registry crawl; some information will be unavailable.

And I unable to see any data from my or installed app. Also any installed app is unable to send and receive any data with runned fiddler. 

 I've tried to uninstall\reinstall fiddler but not helps. Do you know something about this problem? Can you help me to solve it?






Eric Lawrence
Telerik team
 answered on 23 Jan 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?