Using Fiddler under Mac

Recently, due to business needs, it is possible to grab the package of the WeChat applet. The network request of the WeChat applet enforces HTTPS. At this time, Fiddler is a good choice, but it is a little more troublesome to use Fiddler under Mac.

 

The first step is to install the Mono framework

http://www.mono-project.com/download/stable/

 

The second step, after installation, open Terminal and enter:

/Library/Frameworks/Mono.framework/Versions/<Mono Version>/bin/mozroots --import --sync

<Mono Version> Enter the version number of the installed mono here, for example:

/Library/Frameworks/Mono.framework/Versions/5.10.1/bin/mozroots --import --sync

If you don't know the version number, first open Finder -> Go to -> Go to Folder -> enter :

/Library/Frameworks/Mono.framework/Versions/

There is a folder inside, the name is the version number.

 

Finally, download OS Fiddler and unzip it:

https://www.telerik.com/download/fiddler

Open Terminal and execute in the Fiddler directory:

sudo mono Fiddler.exe

If this error is reported:

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Then change to 32-bit startup:

sudo mono --arch=32 Fiddler.exe

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325824095&siteId=291194637
Recommended