Use fiddler to capture the interface on the mac m1 machine (non-virtual machine mode)
author: jwensh
date:2023.09.12
Article directory
1. Environment preparation
If you want to capture the browser interface on Mac, you mainly use proxy mode, that is, fiddler is in the form of a service, and then configure the proxy to this fiddler service on the browser or system settings;
Then the so-called service of fiddler can be on a remote machine such as window or linux or a virtual machine; it can also be on a mac machine;
It is mainly an ip + port
- Download directly from fiddler official website https://www.telerik.com/fiddler
- Set up Fiddler: Open Fiddler, enter Settings, on the HTTPS settings page, click
Trust Root Certificate
and checkCapture HTTPS traffic
;
-
Then on the Connections page, fill in the corresponding listening port and check
Allow remote computers to connect
-
Chrome browser installation, it is recommended to use Chrome and add the `SwitchyOmega plug-in
![
2. Configure
- Set up the browser SwitchyOmega on Mac, create a new profile, add Server in the protocol to the address 192.168.2.119 or 127.0.0.1 in the virtual machine, and fill in the port that Fiddler just listened to.
- Activate the newly created Profile on the chrome toolbar and browse the web. Fiddler will capture packets on the browser (you can set a non-proxy host on the configuration page).
- When not using Fiddler, remember to switch SwitchyOmega to the system configuration, otherwise you will not be able to access the Internet.
3. Usage