[BUG] Does not work on version 33.1.2
PATAPOsha opened this issue · 1 comments
PATAPOsha commented
Describe the bug
I manually patched APK and installed on the device, but requests are not decrypted. App keeps reloading on Login screen.
version 30.1.2 from releases page works good
version 31.5.3 from releases page also does not work with same behavior
Method
Patched APK
App info
com.zhiliaoapp.musically_33.1.2-2023301020_minAPI21(arm64-v8a,armeabi-v7a)(nodpi)_apkmirror.com.apk
Device info
Android 11 ARM Emulator from Genymotion (Pixel 3)
Proxy tool
Charles
Logs
Logs of patcher script:
(unpinner) pata@pata-mac:Tiktok-SSL-Pinning-Bypass % python patch_apk.py -i com.zhiliaoapp.musically_33.1.2-2023301020_minAPI21\(arm64-v8a,armeabi-v7a\)\(nodpi\)_apkmirror.com.apk
App ABIs: ['arm64-v8a', 'armeabi-v7a']
Supported ABIs: ['armeabi-v7a', 'arm64-v8a']
Generating keystore...
Generating 2,048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 8,000 days
for: CN=com.leftenter.android, OU=ID, O=APK, L=Unknown, ST=Unknown, C=XK
[Storing /Users/pata/PycharmProjects/Tiktok-SSL-Pinning-Bypass/temp/release.keystore]
Created config_file at: /Users/pata/PycharmProjects/Tiktok-SSL-Pinning-Bypass/temp/libgadget.config.so
Created script_file at: /Users/pata/PycharmProjects/Tiktok-SSL-Pinning-Bypass/temp/libsslbypass.js.so
Patching for armeabi-v7a
Extracting: lib/armeabi-v7a/libsysoptimizer.so
Downloading firda-gadget-16.1.11-armeabi-v7a.so.xz
[==================================================]
Patching: /Users/pata/PycharmProjects/Tiktok-SSL-Pinning-Bypass/temp/lib/armeabi-v7a/libsysoptimizer.so
Extracting: lib/armeabi-v7a/libsscronet.so
Finding function offset in /var/folders/y8/y8t_4g1113j90q4x_8_lz6j00000gp/T/lib/armeabi-v7a/libsscronet.so
fun_offset: 0x1c9350
Patching for arm64-v8a
Extracting: lib/arm64-v8a/libsysoptimizer.so
Downloading firda-gadget-16.1.11-arm64-v8a.so.xz
[==================================================]
Patching: /Users/pata/PycharmProjects/Tiktok-SSL-Pinning-Bypass/temp/lib/arm64-v8a/libsysoptimizer.so
Extracting: lib/arm64-v8a/libsscronet.so
Finding function offset in /var/folders/y8/y8t_4g1113j90q4x_8_lz6j00000gp/T/lib/arm64-v8a/libsscronet.so
fun_offset: 0x316e30
Rebuilding apk file...
Running zipalign...
Signing apk...
Sucessful. Patched file at: app_patched.apk
PATAPOsha commented
Version 31.5.3 from releases page works perfectly on real Pixel 7 device.
33.1.2 also works on real device.
I guess it emulator's fault. Will try another emulator.