After downloading the mumu emulator, perform the following settings:
- mumu emulator version 1.4.11
Enable writable system disk
Enable root access
Install adb
brew install android-platform-tools
Check the adb connection port
List emulator devices
adb devices
Connect
adb connect 127.0.0.1:16416
Disconnect
adb disconnect 127.0.0.1:16416
Download the Burp certificate and convert the downloaded DER format certificate to PEM format, then convert it to $hash.0 format, and push it to the emulator using adb
openssl x509 -inform DER -in cacert.der -out cacert.pem
hash=$(openssl x509 -inform PEM -subject_hash_old -in cacert.pem | head -n 1)
new_hash="${hash}.0"
mv cacert.pem "$new_hash"
adb push "$new_hash" /system/etc/security/cacerts/
The IP address of the Mac is 172.20.10.2
Next, set the emulator's proxy IP to the Mac's IP, and set Burp to use the Mac's IP.
Then you can start capturing packets normally.
Reference: