Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why Doesn't Fiddler Show Curl Traffic?

Why doesn't Fiddler show curl traffic? Other traffic gets displayed, just not curl. How can I get fiddler to intercept curl traffic?

like image 575
BSalita Avatar asked Jun 01 '16 23:06

BSalita


People also ask

How do I get my Fiddler to cURL?

In Fiddler, you can select the request session in the session list and then use File -> Export -> Selected Sessions -> cURL script .

Why is Fiddler not capturing traffic?

NET Framework are hardcoded not to send requests for Localhost through any proxies, and as a proxy, Fiddler Classic will not receive such traffic. This behavior was changed for Internet Explorer 9 in the Release Candidate build. IE9 RC allows Fiddler Classic to proxy traffic sent to localhost or 127.0.

How do I get my Fiddler to work?

To instead allow Fiddler Classic to automatically enable and disable the proxy, use Proxy Auto-configuration with a URL pointing to Documents/Fiddler2/Scripts/BrowserPAC. js. For example, in Firefox, click Tools > Options > Advanced > Network > Settings, and input the URL of the BrowserPAC.


1 Answers

Fiddler will not intercept curl traffic by default. You'll need to specify the -x proxy option. If curl displays an SSL error message, additionally use the -k option to disable SSL validation.

curl -x 127.0.0.1:8888 -k www.example.com 
like image 154
BSalita Avatar answered Oct 12 '22 22:10

BSalita