Hello,
I was wondering if there's some sort of offline documentation bundle that I can use while working offline (for example on the road or in an isolated network).
Thanks.
Hello, this is my first time using FiddlerCore and am trying to grasp the concepts behind it. I am developing a simple project that should block websites that are specified in a database, and block all sites if the user is browsing at a time that is set by the administrator. It is for a school project. For now, I have hard-coded the site I want blocked: "facebook.com". Below is the code:
void FiddlerApplication_BeforeRequest(Session oSession)
{
if (oSession.url.Contains("facebook.com"))
{
oSession.utilCreateResponseAndBypassServer();
oSession.oResponse.headers.SetStatus(307, "Redirect");
oSession.oResponse["Cache-Control"] = "nocache";
oSession.oResponse["Location"] = "http://microsoft.com";
oSession.utilSetResponseBody(GenerateErrorMessage("Internet Time", "The request was set at a time interval that is blocked by the " +
"administrator(s) of this computer", oSession.fullUrl, "--"));
return;
}
}
However, I am getting an ERR_TUNNEL_CONNECTION_FAILED message in google chrome and I am getting a page cannot be displayed in internet explorer. Basically what I would like is if a site is block, display the html in the browser specified in oSession.utilSetResponseBody(GenerateErrorMessage("Internet Time", "The request was set at a time interval that is blocked by the " + "administrator(s) of this computer", oSession.fullUrl, "--"));
This works in all sites that do not have "https:". For ex: I am getting my desired result that I want if I try to block "microsoft.com".
Any help is appreciated.
A while ago I wrote a simple .har parser which I still use sometimes. It works perfectly fine for the files from FF and Chrome. Recently I have tried Fiddler and found it very useful, however, my parser failed to parse Fiddler' .har
When I looked into this .har I can see it has no line delimiters which makes it hard to parse.
Has it been done on purpose or I can change it somehow? Basically, I would like to have the same format as produced by Chrome and FF
Hi,
I have a web application that sends an XML POST from the browser and I am using Fiddler to capture the body of the XML being sent out to ensure that the proper information is being sent from the application. I can see the POST to localhost:12345 captured in Fiddler, but when my co-worker clicks on the TextView tab in the Inspectors it is empty. This works fine on my machine and I am able to view the XML information in the TextView tab. This also works as expected for some of my other co-workers so it seems to be something specific with her machine that is interfering with the request. I observe this behavior whether she is connected to VPN or in the office using the network directly it doesn't appear to be an issue with the VPN.
We are using IE to view this information and my co-workers and I are using versions 10 and 11. I have looked at both setups (on my machine and my co-worker) and they are identical. Settings in my Connections tab for Fiddler Options are set to port 8888, allow remote computers to connect, reuse client connections, reuse server connections, act as a system proxy on startup, monitor all connections and <-loopback>; as a bypass for Fiddler. I tried to remove the loopback on my co-worker's machine but that did not resolve the issue. The gateway is set to use system proxy and HTTPS is set to capture and decrypt for all processes.
I have also had her try running Fiddler as an Admin and tried disabling the anti-virus programming we have on our company-issued laptops but neither of those seemed to have worked. Is there something else I'm missing here? Thanks.
Best Regards,
Randy
Hello,
I downloaded the most new version of Fiddler.
When I start it and enable "capture traffic" option, I can't surf the internet, and there is no capturing.
Heres the image of the message I get on firefox:
http://www.pntbrother.com/wp-content/uploads/2014/11/proxy_server_refusing_connection.jpg
Same on chrome and edge.
Why its happening?
Thanks for FiddlerCore and the quick responses to questions on this forum.
I'm trying to intercept a webpage response, change some html, and have it display my change in the browser:
private void FiddlerApplication_BeforeResponse(Session oSession)
{
oSession.bBufferResponse = true;
oSession.utilDecodeResponse();
oSession.utilReplaceInResponse("TEXT-TO-REPLACE", "NEW-TEXT");
}
I should note that I'm using Windows 10, which I'm not sure if it makes any difference. I know that the oSession's ResponseBody text is updated when I use this code, however it seems like it doesn't get passed on to the browser from this point. Am I missing something? I've even tried utilSetResponseBody(updatedBodyText), however this doesn't seem to update the returned page either. Any thoughts or help would be greatly appreciated.
When running Fiddler with HTTPS decryption enabled, browsing to Google (and many other sites) results in a Firefox error page "This Connection is Untrusted", with the following error info:
"This site uses HTTP Strict Transport Security (HSTS) to specify that Firefox only connect to it securely. As a result, it is not possible to add an exception for this certificate."
The Technical details say:
"www.google.com uses an invalid security certificate. The certificate is only valid for *.google.com (Error code: ssl_error_bad_cert_domain)"
I've already imported the Fiddler root cert into Firefox's CA store. The problem has only started occurring with recent Firefox versions.
Does anyone know how to resolve this?
Thanks,
--- John.
I apologize if this question has been answered in another thread -- but I haven't seemed to find the answer yet.
I am attempting to write an app using FiddlerCore. However, while my app is running, at least one Windows 10 app (News) does not respond. By that I mean it tries to retrieve data but instead returns a "Service is Not Available" message. The same thing happens if I try to use the standard Fiddler app.
However as soon as I disable the Proxy server in Windows, all is well again. So I'm assuming this has something to do with it, I'm just not sure how to go about fixing it. Any help would be greatly appreciated. Thanks!
Hello,
ClamAv finds the fidler installation (fidler4setup.exe) as a virus: ClamAV Win.Trojan.Kazy-2656
virus total link: https://www.virustotal.com/en/file/be33d6d0381c22355c0c6cab60aa518bd334e5bcca7107a829aeb784b56b1d97/analysis/
I've submitted the file as a false positive at http://www.clamav.net.
Regards,
arik@odi-x.com
Is it possible to use the command line to replay SAZ files with Fiddler? While I understand that you can specify a SAZ file to open with Fiddler from the command line, I am looking for something that will perform the following steps:
* Replay the SAZ file
* Exit with a reasonable return code
If this process could be run headless, that'd be even better. While this doesn't seem too much to ask, I haven't had much luck figuring it out myself. This will be part of a larger, automated process.
If I'm barking up the wrong tree, what is the recommended way to replay SAZ files in an automated fashion?