Telerik Forums
Fiddler Forum
0 answers
134 views
I have tried editing the rules on fiddler script editor
static function OnBeforeRequest(oSession: Session) {
// Check if the request URL matches a pattern (for example, you can forward requests to a specific domain)
if (oSession.url.Contains("example.com")) {
// Get the request body (as a string)
var requestBody = oSession.GetRequestBodyAsString();

// Parse the request body as JSON
var data = parseJSON(requestBody);

if (data == null) {
// If the data is not valid JSON, handle the error
oSession.ResponseBody = "Invalid JSON received";
oSession.oResponse.headers["Content-Type"] = "text/plain";
return;
}

// Prepare the data to send to the PHP server
var dataToSend = {
"method": oSession.oRequest.headers["Method"],
"url": oSession.url,
"headers": oSession.oRequest.headers.ToString(),
"body": data
};

// Define the PHP server URL (running on localhost:8000)
var phpServerUrl = "http://localhost:8000/process_request.php";

// Prepare HTTP request to send to the PHP server
var oHTTP = new HTTPRequest(phpServerUrl, "POST", stringifyJSON(dataToSend));

// Send the request
var oResponse = oHTTP.Send();

// Handle the PHP server's response
if (oResponse.StatusCode == 200) {
oSession.ResponseBody = oResponse.Body;
oSession.oResponse.headers["Content-Type"] = "application/json";
}
}
}

But the code doesnt work because JSON object is not recordgnized.
Is there any waY I can broadcast/forward all requests captured that belong to example.com domain?>
arsa
Top achievements
Rank 1
 asked on 01 Feb 2025
1 answer
203 views

i can't find snapshots menu in mac fiddler app. where is it?

i'm using free account now.

Nick Iliev
Telerik team
 answered on 29 Jan 2025
1 answer
200 views

I disabled System proxy and tried to enable "Network Capture" with basic settings, but it's keep spinning and not enabling this feature.

If anyone can help me figure this out that will be so helpful.

Thank you

Nick Iliev
Telerik team
 answered on 23 Jan 2025
1 answer
130 views

I often change computers at work, when I installed fiddler everywhere on the new computer, I saw a warning about the increase in the number of installations. How to reset it?

Nick Iliev
Telerik team
 answered on 15 Jan 2025
1 answer
178 views

I recently upgraded to the latest version of Fiddler Classic and the application no longer starts up.  It crashes silently (no error message pop-up) and the Fiddler window is never displayed. 

Running on Windows 10. 

The Windows Application Log shows the following:

Faulting application name: Fiddler.exe, version: 5.0.20245.10105, time stamp: 0x670fd121
Faulting module name: KERNELBASE.dll, version: 10.0.19041.5198, time stamp: 0xd1eefc71
Exception code: 0xc06d007e
Fault offset: 0x000000000003b699
Faulting process id: 0x3e54
Faulting application start time: 0x01db636fee33f9f3
Faulting application path: C:\Users\XXXXX\AppData\Local\Programs\Fiddler\Fiddler.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: 8bf8de2d-211a-4462-93da-34efc27e8337
Faulting package full name: 
Faulting package-relative application ID: 

I have tried uninstalling and re-installing but the results are the same.

Any ideas for how this can be fixed?  Thanks.

Nick Iliev
Telerik team
 answered on 13 Jan 2025
4 answers
2.0K+ views
_
Daniel
Top achievements
Rank 1
 updated question on 26 Dec 2024
7 answers
1.3K+ views

While playing around with windows 10 and looking for ways to ensure it will Shut the F*** up and break up with M$ I noticed that the various privacy violating services seam to respect the proxy configuration in the internet options.

So I installed fiddler on my test VM and enabled SSL decryption.

For some requests like windows update that seamed to work just fine,

but for the interesting telemetry once, it fails with error 408, for example requests to watson.telemetry.microsoft.com

The textView window says "The request body did not contain the specified number of bytes. Got 0, expected 1.359"

So I think its a bug with fiddler (or the lack of support for some protocol version) rather than M$ cooking up their own super secret SSL replacement.

 

So it would be great if the makers of fiddler could fiddle around a bit with this issue and solve it please :)

David
Top achievements
Rank 1
Iron
 answered on 18 Dec 2024
1 answer
188 views

Hi,

We are unable to execute any with Power apps  in Desktop application when Fiddler Trace is active, it keeps loading forever and after closing Fiddler it works fine.  Could you please advise?

Thanks in advance.

Victor Pontes

Nick Iliev
Telerik team
 updated answer on 09 Dec 2024
1 answer
102 views

Hey,

 

since tonight (nothing changed on my Side I believe), randomly some Websites stopped to appear on Fiddler Everywhere MacOS in Capture Mode.

When I surf around / facebook / mmo-champion etc. (just example pages) they appear as Connect Tunnel opened but no content is seen.

So the Websites no longer get shown in the Traffic Window, just the Connect Tunnels.

I tried to uninstall Fiddler Everywhere, Resetting Configs by removing the Transprancy Proxy from MacOS but nothing seems to help, is there any instance I can check, why some websites randomly disappear and not coming back on MacOS? 

Do I need to "listen" on more Ports or so?

Nick Iliev
Telerik team
 answered on 02 Dec 2024
1 answer
154 views

I am using Windows 10 (it may work fine on Windows 11).

I was unable to capture the link below using Fiddler Classic and Fiddler Everywhere (trial version).

I think Fiddler Everywhere does not support TLS 1.3 successfully in Windows 10. If there is a way to force the connection to TLS 1.3 in Fiddler Everywhere, it may work, but I could not find such a setting.

I have confirmed that 3rd party network capturing tools successfully capture the link below, but why only Fiddler Classic and Everywhere fail? If Windows 10 does not fully support TLS 1.3, then 3rd party capturing tools should not work either, but since 3rd party programs work perfectly, I am wondering why this symptom only occurs in Fiddler.


1. Turn on Fiddler Classic or Everywhere and capture the link below, and it will be rejected.
2. Turn off Fiddler and access the link below, and it will work normally.

https://smartstore.naver.com/powermtb/products/6236194845

Nick Iliev
Telerik team
 answered on 27 Nov 2024
Narrow your results
Selected tags
Tags
+? more
Top users last month
Robert
Top achievements
Rank 1
Luis Cordoba
Top achievements
Rank 1
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
Membatalkan pinjaman
Top achievements
Rank 2
Want to show your ninja superpower to fellow developers?
Top users last month
Robert
Top achievements
Rank 1
Luis Cordoba
Top achievements
Rank 1
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
Membatalkan pinjaman
Top achievements
Rank 2
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?