banner
lca

lca

真正的不自由,是在自己的心中设下牢笼。

mac arm version Android app packet capture environment setup

After downloading the mumu emulator, perform the following settings:

  • mumu emulator version 1.4.11

Enable writable system disk

image

Enable root access

image

Install adb

brew install android-platform-tools

Check the adb connection port

image

List emulator devices

adb devices

image

Connect

adb connect 127.0.0.1:16416

image

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.

image

Now you can start capturing packets normally.

Reference:

Elegant debugging of Android APP on ARM MacBook

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.