Update Mitrproxy solution #2

Merged
Raphael merged 6 commits from wangeyun/SCHALE.GameServer:master into master 2025-01-01 06:10:57 +00:00
1 changed files with 132 additions and 132 deletions
Showing only changes of commit 0fdb4fee49 - Show all commits

View File

@ -2,9 +2,9 @@
(By 北野樱奈)
## Prerequisites
- 1. [Download mitmproxy](https://mitmproxy.org/) and install it.
- 2. Basic knowledge of WireGuard and Python scripting.
- 3. A client device (e.g., Android emulator or smartphone) and a host machine running `mitmproxy`.
1. [Download mitmproxy](https://mitmproxy.org/) and install it.
2. Basic knowledge of WireGuard and Python scripting.
3. A client device (e.g., Android emulator or smartphone) and a host machine running `mitmproxy`.
### Installation Steps
- **Linux/Mac**
@ -44,17 +44,17 @@ To decrypt HTTPS traffic, the client needs to trust the `mitmproxy` CA certifica
---
### For Android Devices
- 1. Move the certificate to the system CA directory:
1. Move the certificate to the system CA directory:
```bash
adb root
adb remount
adb shell mv /sdcard/c8750f0d.0 /system/etc/security/cacerts/
```
- 2. Set the correct permissions:
2. Set the correct permissions:
```bash
adb shell chmod 644 /system/etc/security/cacerts/c8750f0d.0
```
- 3. Reboot the device:
3. Reboot the device:
```bash
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/).
### Configuration Steps
- 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**.
- 3. Position the screenshot over the QR code in the Mitmproxy browser page (accessible via settings).
- 4. Enable the configuration.
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**.
3. Position the screenshot over the QR code in the Mitmproxy browser page (accessible via settings).
4. Enable the configuration.
---