Telerik Forums
Fiddler Forum
0 answers
74 views
Can someone please tell me what all Linux versions does ClamAV support?
Shashi
Top achievements
Rank 1
 asked on 06 Feb 2018
0 answers
94 views

Fiddler keeps giving me this error when I'm trying to connect to fiddler running on my PC via an iPhone which is connected to the same network:

 

---------------------------
Uncaught Exception in Session #2775
---------------------------
Fiddler has encountered an unexpected problem. If you believe this is a bug in Fiddler, please copy this message by hitting CTRL+C, and submit a bug report at http://www.telerik.com/forums/fiddler.

No such host is known

Type: System.Net.Sockets.SocketException
Source: System
   at System.Net.Dns.HostResolutionEndHelper(IAsyncResult asyncResult)

   at System.Net.Dns.EndGetHostAddresses(IAsyncResult asyncResult)

   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at FDTrace.FiddlerExtension.ControlPlane.ControlPlaneAccessor.<ResolveDomainAsync>d__4.MoveNext() in d:\dbs\sh\anfe\0907_182501\cmd\23\src\frontdoor\tools\fdtracefiddlerextension\dev\ControlPlane\ControlPlaneAccessor.cs:line 93

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at FDTrace.FiddlerExtension.ControlPlane.ControlPlaneAccessor.<GetControlPlaneResourceAsync>d__3.MoveNext() in d:\dbs\sh\anfe\0907_182501\cmd\23\src\frontdoor\tools\fdtracefiddlerextension\dev\ControlPlane\ControlPlaneAccessor.cs:line 73

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at FDTrace.FiddlerExtension.FiddlerExtension.GetControlPlaneResource(String host) in d:\dbs\sh\anfe\0907_182501\cmd\23\src\frontdoor\tools\fdtracefiddlerextension\dev\FiddlerExtension.cs:line 396

   at FDTrace.FiddlerExtension.FiddlerExtension.AutoTamperResponseAfter(Session oSession) in d:\dbs\sh\anfe\0907_182501\cmd\23\src\frontdoor\tools\fdtracefiddlerextension\dev\FiddlerExtension.cs:line 255

   at Fiddler.FiddlerExtensions.(Session ) in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Application\Extensions.cs:line 866

   at Fiddler.Session.‘() in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\Session.cs:line 3973

   at Fiddler.ServerChatter.ŽŒ() in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\ServerChatter.cs:line 1520

   at Fiddler.ServerChatter.Œ() in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\ServerChatter.cs:line 1474

   at Fiddler.Session.‘() in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\Session.cs:line 3651

   at Fiddler.Session.(Object ) in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\Session.cs:line 3426


Fiddler v5.0.20173.50948 (x64 AMD64) [.NET 4.0.30319.42000 on Microsoft Windows NT 10.0.14393.0] 
---------------------------
OK   
---------------------------


Alan
Top achievements
Rank 1
 asked on 05 Feb 2018
2 answers
440 views
We have developed a Qt application and it is connecting to a wcf service hosted in remote location. I want to monitor the Http request using fiddler. but fiddler is not capturing the request. Am I missing any configuration. I am using fiddler with default configuration.
Doby
Top achievements
Rank 1
 answered on 02 Feb 2018
1 answer
952 views

I set my app to proxy traffic through fiddler by adding the following in web.config

  <system.net>

    <defaultProxy enabled="true">
      <proxy proxyaddress="http://127.0.0.1:8888" />
    </defaultProxy>
  </system.net>

As soon as I've done that, I get the following error

The remote certificate is invalid according to the validation

...specifically on a connection to windows azure service bus - but don't think that's relevant to this question

 

I've re-generated the certs, exported root cert, trusted it etc...

Just can't get past this error!

 

Alexander
Telerik team
 answered on 01 Feb 2018
2 answers
519 views

Hey,

I am trying to dump data to a file automatically. I have added the following in " OnBeforeResponse" of fiddler script.

if (oSession.url.Contains("?_ctrl-state=")) {
          var directory: String = "D:\\me\\usefull\\data";
          var path: String = System.IO.Path.Combine(directory, Guid.NewGuid() + ".json");
          oSession.utilDecodeRequest();
          oSession.utilDecodeResponse();
          oSession.SaveSession(path , false);
      }

 But when I do File>ExportSession>SelectedSession i can see list of file formats in which the same session data can be stored. Is there any way that i can save the file in HTTP Archive format using the script.

 

Thanks 

Alle

Alexander
Telerik team
 answered on 29 Jan 2018
0 answers
156 views

Hi everyone,
I need functionality through the custom rules. 

I need a button in the tool menu that allows me to select all those sessions that have a certain word in the url.
I don't want to use the filters because I wouldn't want to touch them. 

I started to do this method: 

public static ToolsAction("Select session")
function doSelect(arrSess: Session[]) {
    var key = FiddlerObject.prompt("select key");
    for (var i: int=0; i<arrSess.Length; i++) {
        if (arrSess[i].uriContains(key)) {         
            //do something
            //select session
        }
    }
    MessageBox.Show("Done"+key);
}

but I do not know how to conclude the for cycle. 

but I do not know how to conclude the for cycle. What object should I use to select sessions? 
To give an example, I would like a "Matching Value" feature (see screenshot) that can be customized with the custom word.

Can you help me? 
Francesco 

 

 

 

Francesco
Top achievements
Rank 1
 asked on 29 Jan 2018
1 answer
283 views

Prior to installing Fiddler 4 on my computer, Cortana, Windows Store, Updates, UWP Apps, etc... Were all capable of using the internet flawlessly. However, after installation whenever Fiddler 4 is not open/active my entire OS is virtually destroyed by being unable use the majority of features.

I reset all system policies, ran Windows SFC/DISM, malware/virus scans, and registry integrity checks - all clear. I have also reset the Wininet Catalogs, Set Manual DNS, Flushed DNS Cache and renewed IPConfig. There are no proxies defined under Windows Settings, IE Explorer, nor Control Panel.

Thus I removed Fiddler 4 with a complete uninstall expecting it would undo the damage it has caused, needless to say, it has not resolved the problem?

(Even running another proxy does not work, it is truly bound to this malicious like application.)

Simeon
Telerik team
 answered on 24 Jan 2018
1 answer
612 views
Step to reproHi,

I've got some problem tracing reauest between web application. I describe below how to reproduce.
Hope you can help me :)

Requirements:
windows10
Visual Studio 2017
.netcore


Step to reproduce:

- Launch a first Instance of Visual Studio, File -> New -> Project -> .Net Core -> ASP.NET Core Web Application -> OK -> Web APi -> OK.
Go into properties of Web Application, tab Debug, and get the App Url.
Example: instance 1 : http://localhost:58557/

- Launch a second instance of Visual Studio, and do the same as step 1.
Example: instance 2 : http://localhost:50214/

- In first instance, go in file Controllers -> ValuesCOntroller
Replace first method by this code :
        // GET api/values
        [HttpGet]
        public IEnumerable<string> Get()
        {
            WebProxy proxy = new WebProxy("http://127.0.0.1:8888/", false);
            HttpClientHandler handler = new HttpClientHandler()
            {
                Proxy = proxy,
                UseProxy = true,
                PreAuthenticate = true,
                UseDefaultCredentials = true,
            };
            HttpClient httpClient = new HttpClient(handler);
            //HttpClient httpClient = new HttpClient();
            var t = httpClient.GetAsync("http://localhost:50214/api/values").Result.Content.ReadAsStringAsync();
            return new string[] { "value1", "value2" };
        }

Be careful, replace http://localhost:50214 with the URL of your second instance.
This code will call second instance using proxy 127.0.0.1:8888.

- Launch Fiddler, and check that proxy is correctly enabled and set to 127.0.0.1:8888.

- Launch both instance of web application.

- Call first Web Application using IE, postman or whatever... GET http://localhost:58557/api/values

- In fiddler, you'll see one line :
1    200    HTTP    localhost:58557    /api/values    30        application/json; charset=utf-8    postman:9972    

- The call to the second web application is not visible.


        


Vincent
Top achievements
Rank 1
 answered on 23 Jan 2018
1 answer
216 views

HI

In the fiddler there is a feature "Reissue from composer", which I try to do from FIddlerCore .net standard.

But I don't know how to do it..

In "FiddlerApplication.BeforeRequest += (Session oS) => {" I'm trying to :

if (oS.url.IndexOf("original_url") >=0) {
                            oS.url = "new_url";
                            oS.utilSetRequestBody(File.ReadAllText("xml-body-request"));
                           }
but it doesn't work, like I miss something. ResponseBody has 0 bytes in such approach..

Any idea what is missing here ?

 

Best regards 

Alexander
Telerik team
 answered on 22 Jan 2018
1 answer
134 views
---------------------------
Uncaught Exception in Session #9
---------------------------
Fiddler has encountered an unexpected problem. If you believe this is a bug in Fiddler, please copy this message by hitting CTRL+C, and submit a bug report at http://www.telerik.com/forums/fiddler.

Cannot access a disposed object.

Object name: 'WinHttpAutoProxy'.

Type: System.ObjectDisposedException
Source: Fiddler
   at “.Ÿœ.ƒ•(String •, String& ‘‰, String& ”) in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\FiddlerCore\PlatformExtensions\Windows\FiddlerCore.PlatformExtensions.Windows.Shared\WinHttpAutoProxy.cs:line 52

   at .‚•.œ(String –, IPEndPoint& žœ) in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\AutoProxy.cs:line 142

   at Fiddler.Proxy.FindGatewayForOrigin(String sURIScheme, String sHostAndPort) in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\Proxy.cs:line 805

   at Fiddler.ServerChatter.Œ() in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\ServerChatter.cs:line 1056

   at Fiddler.Session.‘() in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\Session.cs:line 3651

   at Fiddler.ServerChatter.ŽŒ() in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\ServerChatter.cs:line 1520

   at Fiddler.ServerChatter.Œ() in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\ServerChatter.cs:line 1474

   at Fiddler.Session.‘() in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\Session.cs:line 3651

   at Fiddler.ServerChatter.ŽŒ() in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\ServerChatter.cs:line 1520

   at Fiddler.ServerChatter.Œ() in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\ServerChatter.cs:line 1474

   at Fiddler.Session.‘() in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\Session.cs:line 3651

   at Fiddler.Session.(Object ) in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\Session.cs:line 3426


Fiddler v5.0.20173.50948 (x64 AMD64) [.NET 4.0.30319.42000 on Microsoft Windows NT 6.1.7601 Service Pack 1] 
---------------------------
OK   
---------------------------

Alexander
Telerik team
 answered on 22 Jan 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?