-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AndroidJava: OMTG_DATAST_001_SQLite_Encrypted crashing in Nexus5X 7.1.1 and genymotion 9.0 #25
Comments
Additional information I build the CPU specific apk from the source in the newest Android Studio. It resolved the issue that i had with OMTG_DATAST_001_SharedPreferences which showed
I used arm64-v8a.apk. |
"libnative.so" is included in the debug .apk https://github.com/OWASP/MSTG-Hacking-Playground/tree/master/Android/MSTG-Android-Java-App/app Is there a reason for this choice? Thanks! |
Hi @aoprea1982. Thanks for pointing out. Not sure why this was missed back then. The native library should of course also be part of the release build. |
Hi @sushi2k Thank you for the reply. Using the debug apk also not working with OMTG_DATAST_001_SQLite_Encrypted Also the debug version (app-arm-debug.apk) has the answer inside before running the Activity. Thanks! |
Hi @sushi2k Thank you for the reply. Using the debug apk also not working with OMTG_DATAST_001_SQLite_Encrypted Also the debug version (app-arm-debug.apk) has the answer inside before running the Activity. Thanks! |
I was just building the project and updating also to androidx libraries, but I am also getting the libnative.so missing error. For some reason the library is not created anymore. Need to dig a bit deeper. |
Thanks again for raising @aoprea1982. I just fixed it #28. You can download the APK here https://github.com/OWASP/MSTG-Hacking-Playground/releases/tag/1.1. Let me know if there are still issues. I tested it on two devices (Google Pixel 3 and Xiaomi) and was working. |
OMTG_DATAST_001_SQLite_Encrypted crashing in Nexus5X 7.1.1 and genymotion 9.0
logcat
AndroidRuntime: Shutting down VM ACRA caught a UnsatisfiedLinkError for sg.vp.owasp_mobile.omtg_android : java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/sg.vp.owasp_mobile.omtg_android-gzd4nYb_MOhksMCvv3KBDQ==/base.apk"],nativeLibraryDirectories=[/data/app/sg.vp.owasp_mobile.omtg_android-gzd4nYb_MOhksMCvv3KBDQ==/lib/x86, /system/lib, /system/vendor/lib]]] couldn't find "libnative.so"
The issue is similar for both physical device and emulator.
There is no libnative.so in the repository. Physical device: use releases .apk , emulator: build it
Please let me know if more information is needed?
Thanks,
Tsubasa
The text was updated successfully, but these errors were encountered: