Charles - Night God simulator certificate installation App capture package
Article Directory
foreword
Packet capture concept: Packet capture is to intercept, resend, edit, and transfer data packets sent and received by network transmission, and it is also used to check network security.
MT Manager download link - extraction code: pwjj: https://pan.baidu.com/s/1dH-TeB6gChPDYoYpH1aXQg?pwd=pwjj
提示:以下是本篇文章正文内容,下面案例可供参考
1. Software installation
1. Openssl installation
1.1 Download and install
Official address: https://www.openssl.org/source/
Big coffee packaged (recommended) download address: http://slproweb.com/products/Win32OpenSSL.html
My device is Windows 64 bit,
download is complete
, start installation
selection installation manual
1.2 Configure environment variables
Create a new system variable OPENSSL_HOME, set the variable value to (absolute path) bin in the software installation directory,
edit the user variable path, create a new %OPENSSL_HOME%, and finally click OK
1.3 To view the openssl version, enter the command: openssl version
2. Yeshen simulator installation
Official download link: https://www.yeshen.com/
1.1 Download and install
The download is complete
and the installation starts
1.2 Tool preparation, MT manager
Apk download address: https://download.csdn.net/download/EXIxiaozhou/86937581
Download the apk file on Windows, open the emulator and drag the apk file directly into the emulator window to complete the installation, and the installation will be completed automatically
3.Charles installation
Official download: https://www.charlesproxy.com/latest-release/download.do
Keep clicking Next to complete the installation
2. Charles installs the certificate and captures the package
1.Charles Crack
1. It can be used without cracking, but Charles will automatically restart every time it is used;
2. You can search for articles related to Charles cracking on Baidu to obtain the registration code;
3. Enter the registration code and click Register to
install the Charles certificate For Android system certificate: https://www.jianshu.com/p/2f85142023e8
2. Install the certificate and export it
Click: Help > SSL Proxying > Save Charles Root Certificate...
Note: There is a pit here. After selecting the download directory, you need to add "\xxx" after the folder name to download the certificate to the xxx.pem file in this directory , otherwise the certificate will be downloaded to the upper level directory, and the certificate name is the name of the last level directory;
3. Turn on proxy mode
Click Proxy > SSL Proxying Setting, check Enable SSL Proxying, and add proxy domain name/port
4. Certificate Formatting
前面介绍了如何安装openssl
1. Check the hash value: openssl x509 -subject_hash_old -in “xxx.pem”
2. Change to the corresponding file name, pay attention to the suffix (.0): ren “My File.pem” 326c9e5c.0
5. Configure the certificate into the emulator through the MT manager
1. Select the shared directory between the local and the emulator
2. Open the MT manager app
3. Copy the certificate to the emulator directory: system/etc/security/cacerts/
4. Go to the emulator installation directory of the local windows
4.1 Check the connection status: nox_adb.exe devices
4.2 Determine whether there is root authority (default enabled): nox_adb.exe root
4.3 Enter the shell: adb shell
4.4 Obtain super user authority: su
4.5 Modify the read and write authority of the system directory: mount -o remount,rw /system
4.6 Open certificate authority: chmod 644 /system/etc/security/cacerts/326c9e5c.0
6. Emulator WiFi fills in the IP and port of the Charles proxy
1. Obtain the IP and port of the Charles proxy
1.1 Check the IP
1.2 Check the port
2. Open the emulator WiFi and fill in the IP and port of the Charles proxy