Eltion / Instagram-SSL-Pinning-Bypass

Bypass Instagram SSL pinning on Android devices.
GNU General Public License v3.0
423 stars 88 forks source link

[BUG] Instagram crashes right after start with patched APK #37

Open maddo7 opened 1 year ago

maddo7 commented 1 year ago

Describe the bug
Instagram crashes right after start

Method
Patched APK with your python patcher

App info

Device info

Proxy tool

brup: v2023.2.3

Logs logcat logs attached logcat.logf

Additional context The patched APK crashes right after start. The files from your repo work without issues. Here is the stock apk (base.apk) from Google Play and the patched one. https://drive.google.com/file/d/1VcSC7KZgS4HkGV6AL5_iUj04yXJmkN1m/view?usp=share_link

Any help to get this working is highly appreciated.

Eltion commented 1 year ago

Seems like instagram has started to use packed relocations for the native libs and that's causing this problem. image

Currently the lief-project which I'm using to patch the native so file does not support this. There is a branch with some implementation of this feature here: android-packed-relocations.

I was able to manually do that and you can check the latest version here: https://github.com/Eltion/Instagram-SSL-Pinning-Bypass/releases/tag/v275.0.0.27.98

evgen-dev commented 1 year ago

Can you release version 278+ ? Thanks.

GamerGirlandCo commented 1 year ago

Seems like instagram has started to use packed relocations for the native libs and that's causing this problem. image

Currently the lief-project which I'm using to patch the native so file does not support this. There is a branch with some implementation of this feature here: android-packed-relocations.

I was able to manually do that and you can check the latest version here: https://github.com/Eltion/Instagram-SSL-Pinning-Bypass/releases/tag/v275.0.0.27.98

do you mind sharing the process of manually patching..?

Eltion commented 1 year ago

I will try and see maybe I can can do a pull request to lief project which will fix this issue.

maddo7 commented 1 year ago

Thank you very much for your efforts. Did I understand correctly that the Frida script still works with the newest version, just the patching has some issues?

evgen-dev commented 1 year ago

Frida still work with latest versions

350d commented 1 year ago

@evgen-dev Can you share latest arm64v8 version please?