Using Ubuntu 16.04 Fiddler

Recently, I was learning HTTP. I recommended several tools on the Internet. I felt that Fiddler has its advantages and is free, so I searched for materials online to learn!

The installation package can be downloaded from the official website, select the Linux version, the compressed package is fiddler-linux.zip, and extract it to a directory

1. You need to install the mono environment, which is available in the source

sudo apt-get install mono-complete

2. Then go to the decompression directory and run

mono Fiddler.exe

The Chrome browser does not need any settings, and all requests will be automatically proxied by Fiddler. The principle is: when Fiddler starts, the following script will be executed:

gsettings set org.gnome.system.proxy.https port 8888
gsettings set org.gnome.system.proxy.http port 8888
gsettings set org.gnome.system.proxy.http host '127.0.0.1'
gsettings set org.gnome.system.proxy.https host '127.0.0.1'
gsettings set org.gnome.system.proxy mode 'manual'

It is to use the gsettingscommand to modify the http and https proxy parameter values ​​of the system, and to model 'manual'open the system-level proxy switch at the same time. When the Fiddler program is closed, the modelparameter value will be restored none, that is, the proxy will not be opened.

After running it in the command line mono Fiddler.exe, then kill 9 directly to drop the process, or directly end the process in the window crtl+D, which may make Fiddler unable to set the model parameters normally, resulting in inaccessible web pages opened by the browser.

The Firefox browser does not use the system proxy settings by default, so manually set it up:
Click Edit > Preferences > Advanced > Network > Settings and choose "Manual Proxy Configuration", Proxy 127.0.0.1, Port 8888, and tick the "Use this proxy server for all protocols" box.

 

The content is more quoted, because it is written in great detail! If there is any offense, please let me know!

reference:

Using Fiddler in Linux (Ubuntu) environment

Guess you like

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