简体   繁体   中英

Unable to connect to the frida server: need Gadget to attach on jailed Android

I am using objection to bypass ssl pining on injured android apk. After I ran this command successfully objection patchapk --source injured.apk and uninstall and reinstall the patched apk again, I tried objection explore but always get this error. I tried to download frida gadget-arm and made a folder in the same path in the error message but without any success.

在此处输入图像描述

I faced the similar issue when I was running the APK on an x86 emulator.

What worked for me was

1 Specifying x86 architecture while patching the APK

objection patchapk --source UnCrackable-Level1.apk --architecture x86

2 Copy the Frida gadget from objection to an expected location

cp ~/.objection/android/x86/libfrida-gadget.so ~/.cache/frida/gadget-android-x86.so

After doing above 2 steps, then run the APK on the emulator followed by objection explore

You need to have the frida-server running on the device. See https://frida.re/docs/android/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM