更新 Mitmproxy_Readme_EN.md

This commit is contained in:
挽歌歌吖 2025-01-01 06:01:10 +00:00
parent e7723331fc
commit 0fdb4fee49
1 changed files with 132 additions and 132 deletions

View File

@ -2,9 +2,9 @@
(By 北野樱奈) (By 北野樱奈)
## Prerequisites ## Prerequisites
- 1. [Download mitmproxy](https://mitmproxy.org/) and install it. 1. [Download mitmproxy](https://mitmproxy.org/) and install it.
- 2. Basic knowledge of WireGuard and Python scripting. 2. Basic knowledge of WireGuard and Python scripting.
- 3. A client device (e.g., Android emulator or smartphone) and a host machine running `mitmproxy`. 3. A client device (e.g., Android emulator or smartphone) and a host machine running `mitmproxy`.
### Installation Steps ### Installation Steps
- **Linux/Mac** - **Linux/Mac**
@ -44,17 +44,17 @@ To decrypt HTTPS traffic, the client needs to trust the `mitmproxy` CA certifica
--- ---
### For Android Devices ### For Android Devices
- 1. Move the certificate to the system CA directory: 1. Move the certificate to the system CA directory:
```bash ```bash
adb root adb root
adb remount adb remount
adb shell mv /sdcard/c8750f0d.0 /system/etc/security/cacerts/ adb shell mv /sdcard/c8750f0d.0 /system/etc/security/cacerts/
``` ```
- 2. Set the correct permissions: 2. Set the correct permissions:
```bash ```bash
adb shell chmod 644 /system/etc/security/cacerts/c8750f0d.0 adb shell chmod 644 /system/etc/security/cacerts/c8750f0d.0
``` ```
- 3. Reboot the device: 3. Reboot the device:
```bash ```bash
adb reboot adb reboot
``` ```
@ -111,10 +111,10 @@ Use WireGuard to route client traffic to `mitmproxy`.
- **Other Platforms**: Refer to the [official WireGuard installation guide](https://www.wireguard.com/install/). - **Other Platforms**: Refer to the [official WireGuard installation guide](https://www.wireguard.com/install/).
### Configuration Steps ### Configuration Steps
- 1. Open the WireGuard client, click the `+` button in the bottom left corner, and select **Scan QR Code**. 1. Open the WireGuard client, click the `+` button in the bottom left corner, and select **Scan QR Code**.
- 2. The emulator will display a scanner window. Select **Real-time Screenshot**. 2. The emulator will display a scanner window. Select **Real-time Screenshot**.
- 3. Position the screenshot over the QR code in the Mitmproxy browser page (accessible via settings). 3. Position the screenshot over the QR code in the Mitmproxy browser page (accessible via settings).
- 4. Enable the configuration. 4. Enable the configuration.
--- ---