Telerik Forums
Fiddler Forum
1 answer
356 views

My objective is to capture and decrypt all incoming https traffic(specifically just a 2 rest api url end points) to a asp mvc website on an IIS 7.5 webserver.

steps I've completed
1. I've unbinded the website from 443 and moved it to 444.
2. I altered the fiddlercore(4.4.9.8) sample demo to just have a secure listener on port 443 and display the request headers in  a windows form application.
3. I've attached the server's real certificate using Proxy.AssignEndpointCertificate(x509Certificate2). I've confirmed the attached certificate was found by messagebox 

of the thumbprint. here is the code

oSecureEndpoint = FiddlerApplication.CreateProxyEndpoint(iSecureEndpointPort, true, sSecureEndpointHostname);
if (isCertFound) {
oSecureEndpoint.AssignEndpointCertificate(x509Certificate2);
}

4. I've written the logs to a text file and I see : 
a. /Fiddler.CertMaker> Using Fiddler.DefaultCertificateProvider+MakeCertEngine for certificate generation
and
b. !SecureClientPipeDirect failed: System.NotSupportedException The server mode SSL must use a certificate with the associated private key. on pipe to (CN=*.ourdomain.com, OU=Domain Control Validated)


things i don't get
1. how does the fiddlercore app know to send the forward requests to port 444 (of the website). How do i specify this? If I don't specify this, where does it go?
2. What is causing the !secureclientpipdirect failed from 4b above?

Eric Lawrence
Telerik team
 answered on 17 Mar 2015
4 answers
762 views
Hello Eric ,

Thanks for bring us Fiddler. It's pretty useful.

Here is the problem:

 if (oSession.HostnameIs("www.test.com"))  { 
            oSession.utilDecodeResponse();
             if (oSession.utilFindInResponse("cacheKey",false) > -1){ 
                    var oBody = oSession.GetResponseBodyAsString (); 
                    var regex =/value=\"(.*)\" id=\"cacheKey/i;
                    if(oBody.match(regex)){
                        MessageBox.Show("AAAA" );
                        var cachekey = RegExp.$1;            // <--------------------   Error Line
                      }

Every time i save it, fiddler report :

Object doesn't support this property or method.

I try many times but the problem is still here.

Could you help me?  thanks anyway!


        

Eric Lawrence
Telerik team
 answered on 17 Mar 2015
1 answer
10.2K+ views
Hi,

I have a .net web application and deployed on my localhost IIS. And my .net web application make queries to server.
 How can I use fiddler to capture the HTTP traffic made between my IIS .net and the outside server?

I find this link:

https://mgrowan.wordpress.com/2015/02/19/capture-iis-network-traffic-in-fiddler/

I don't see  web.config in my project. 
Eric Lawrence
Telerik team
 answered on 13 Mar 2015
1 answer
2.3K+ views
Hi,
I'm using NTLM authentication in my site .
I'm trying to find out how can I extract the User Name sent to the server by the client.
After reading MS article  (https://msdn.microsoft.com/en-us/library/windows/desktop/aa378749%28v=vs.85%29.aspx) I thought that the User Name is sent from the client after the first 401 challenge the server sends. (which means the scond request the client initiates)
However , when looking in Fiddler I have realized that the second request from the client (after the first 401) did not include the User Name
Only the third request (ending with 200 status code) included the User Name (as plain Text).
Can you please explain ?
_________________________________________________
First Request ended with 401 ;
No Proxy-Authorization Header is present.

No Authorization Header is present.
_________________________________________________



_________________________________________________
Second request ended with 401 (challenge from server)

No Proxy-Authorization Header is present.

Authorization Header is present: Negotiate
4E 54 4C 4D 53 53 50 00 01 00 00 00 97 82 08 E2  NTLMSSP.....—‚.â
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
06 02 F0 23 00 00 00 0F                          ..ð#....        


-[NTLM Type1: Negotiation]------------------------------
Provider: NTLMSSP
Type: 1
OS Version: 6.2:9200
Flags: 0xe2088297
Unicode supported in security buffer.
OEM strings supported in security buffer.
Request server's authentication realm included in Type2 reply.
Sign (integrity)
NTLM authentication.
Negotiate Always Sign.
Negotiate NTLM2 Key.
Supports 56-bit encryption.
Supports 128-bit encryption.
Client will provide master key in Type 3 Session Key field.
Domain_Offset: 0; Domain_Length: 0; Domain_Length2: 0
Host_Offset: 0; Host_Length: 0; Host_Length2: 0
Host: 
Domain: 
------------------------------------



_________________________________________________
third request ended with 200

No Proxy-Authorization Header is present.

Authorization Header is present: Negotiate
4E 54 4C 4D 53 53 50 00 03 00 00 00 18 00 18 00  NTLMSSP.........
80 00 00 00 18 00 18 00 98 00 00 00 06 00 06 00  €.......˜.......
58 00 00 00 0C 00 0C 00 5E 00 00 00 16 00 16 00  X.......^.......
6A 00 00 00 10 00 10 00 B0 00 00 00 15 82 88 E2  j.......°....‚ˆâ
06 02 F0 23 00 00 00 0F 6F 4B 84 5D 4A 6A 67 C5  ..ð#....oK„]JjgÅ
49 E7 9B E6 ED D5 B9 9F 47 00 45 00 52 00 73 00  Iç›æíÕ¹ŸG.E.R.s.
6B 00 61 00 72 00 6E 00 69 00 53 00 4B 00 41 00  k.a.r.n.i.S.K.A.
52 00 4E 00 49 00 2D 00 4D 00 4F 00 42 00 4C 00  R.N.I.-.M.O.B.L.
26 FB C4 DC FC BE 0B 6A 00 00 00 00 00 00 00 00  &ûÄÜü¾.j........
00 00 00 00 00 00 00 00 64 0B 2C 82 FA 33 05 17  ........d.,‚ú3..
CF 6D 43 44 06 C0 F0 50 5D EA E3 E5 34 69 38 B4  ÏmCD.ÀðP]êãå4i8´
E8 F1 E0 A5 46 72 6F CF D3 36 4A 25 BB 0D DF 16  èñà¥FroÏÓ6J%».ß.


-[NTLM Type3: Authentication]------------------------------
Provider: NTLMSSP
Type: 3
OS Version: 6.2:9200
Flags: 0xe2888215
Unicode supported in security buffer.
Request server's authentication realm included in Type2 reply.
Sign (integrity)
NTLM authentication.
Negotiate Always Sign.
Negotiate NTLM2 Key.
Target Information block provided for use in calculation of the NTLMv2 response.
Supports 56-bit encryption.
Supports 128-bit encryption.
Client will provide master key in Type 3 Session Key field.
lmresp_Offset: 128; lmresp_Length: 24; lmresp_Length2: 24
ntresp_Offset: 152; ntresp_Length: 24; ntresp_Length2: 24
Domain_Offset: 88; Domain_Length: 6; Domain_Length2: 6
User_Offset: 94; User_Length: 12; User_Length2: 12
Host_Offset: 106; Host_Length: 22; Host_Length2: 22
msg_len: 176
Domain: GER
User: skarni
Host: SKARNI-MOBL
lm_resp: 26 FB C4 DC FC BE 0B 6A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
nt_resp: 64 0B 2C 82 FA 33 05 17 CF 6D 43 44 06 C0 F0 50 5D EA E3 E5 34 69 38 B4
------------------------------------

_________________________________________________

Eric Lawrence
Telerik team
 answered on 13 Mar 2015
1 answer
135 views
Is there a Telerik product, or any a product by another company, that can hook into the GPU, intercept images, and replace them on-the-fly?
Eric Lawrence
Telerik team
 answered on 13 Mar 2015
2 answers
440 views
Hello,
I have a proxy with PAC file via DHCP WPAD. Fiddler (v4.4.9.9 running on Windows 8.1) works well, except for a specific URL, "http://my.company.com/Tests/123456789ABCDEF.txt".
This URL is specified in the PAC file, which is 
function FindProxyForURL(url, host)
{
        shExpMatch(url, "*://my.company.com/Support/*") ||
        shExpMatch(url, "*://my.company.com/MF/*")
    )
        return "DIRECT";
    else
    if (host=="www.company1.com" || host=="my.company.com" || host=="www.company3.com" || host=="www.company4.com" || host=="s3.amazonaws.com")
        return "PROXY 192.168.0.2:8888";
    else
 
        return "DIRECT";
}

Any idea what could cause it?

Thanks!

PS: original URLs modified but maintained characteristics.
Eric Lawrence
Telerik team
 answered on 10 Mar 2015
1 answer
300 views
Hi there, 

Fiddler is capturing calls just fine but when using the WebForms Inspector the query string is not populating the window. It is just a blank screen. 
Just installed the latest Fiddler for .Net4 for windows v 4.4.9.9. 

Is there a setting I am missing? 

Thank you. 
Eric Lawrence
Telerik team
 answered on 10 Mar 2015
1 answer
933 views
Re breakpoints; I set one up to target all css files (i.e. bpu .css). How do I switch off this command? When I filter another site, the css is continually targeted.

Thanks.
Eric Lawrence
Telerik team
 answered on 10 Mar 2015
2 answers
98 views
I want to send the same 10 responses to a server, but the problem is that the link changes every time. (A string is added to the end of the first part of the link, like, www.example.com/a5d57sd0fsdf-sds9sd, www.example.com/h3487-fsdfsds-sd) I need to edit the links in fiddler every time to be able to send the responses. Is there anyway how i can make it automatically change the link and send the responses? If no, is there any other solution to this? Thank you.
Eric Lawrence
Telerik team
 answered on 10 Mar 2015
4 answers
402 views
When I set my Android Nexus phone's proxy settings to point to Fiddler I can see all the traffic from my web browsers except for Dolphin for some reason.  When I try to look at traffic from Dolphin all I see are requests for favicons but nothing else.
RES
Top achievements
Rank 1
 answered on 10 Mar 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?