enovella / androidtrainings Goto Github PK
View Code? Open in Web Editor NEWMobile security trainings based on android
Mobile security trainings based on android
Issue
Got the following errors when using testing "run_usb_spawn.py" to UnCrackable-Level3.apk from the URL below
https://github.com/enovella/androidtrainings/blob/master/owasp-crackmes/level3/UnCrackable-Level3.apk
args[0] and args[1] are not shown in the output
ReferenceError: identifier 'haystack' undefined
at [anon] (../../../frida-gum/bindings/gumjs/duktape.c:83853)
at /script1.js:40
[!] Received: [pthread_create() overloaded]
[!] Received: [loading real pthread_create()]
[!] Received: [libfoo.so @ 0x7adac70000]
[!] Received: [ptr_strncmp_xor64 @ 0x7adac777ec]
[!] Received: [ret: 0]
[!] Received: [pthread_create() overloaded]
[!] Received: [loading real pthread_create()]
[!] Received: [libfoo.so @ 0x7adac70000]
[!] Received: [ptr_strncmp_xor64 @ 0x7adac777ec]
[!] Received: [ret: 0]
[!] Received: [pthread_create() overloaded]
[!] Received: [loading real pthread_create()]
[!] Received: [libfoo.so @ 0x7adac70000]
[!] Received: [ptr_strncmp_xor64 @ 0x7adac777ec]
[!] Received: [ret: 0]
ReferenceError: identifier 'haystack' undefined
at [anon] (../../../frida-gum/bindings/gumjs/duktape.c:83853)
at /script1.js:40
ReferenceError: identifier 'haystack' undefined
at [anon] (../../../frida-gum/bindings/gumjs/duktape.c:83853)
at /script1.js:40
ReferenceError: identifier 'haystack' undefined
at [anon] (../../../frida-gum/bindings/gumjs/duktape.c:83853)
at /script1.js:40
ReferenceError: identifier 'haystack' undefined
at [anon] (../../../frida-gum/bindings/gumjs/duktape.c:83853)
at /script1.js:40
[!] Received: [MainActivity.onStart() HIT!!!]
[!] Received: [java.lang.System.exit(I)V // We avoid exiting the application :)]
[!] Received: [pthread_create() overloaded]
[!] Received: [loading real pthread_create()]
[!] Received: [libfoo.so @ 0x7adac70000]
[!] Received: [ptr_strncmp_xor64 @ 0x7adac777ec]
[!] Received: [ret: 0]
ReferenceError: identifier 'haystack' undefined
at [anon] (../../../frida-gum/bindings/gumjs/duktape.c:83853)
at /script1.js:40
testingDevice: Nexus5X Android 7.1.1
fridaVersion: 12.11.4
The script work in your blogHere https://enovella.github.io/android/reverse/2017/05/20/android-owasp-crackmes-level-3.html
Could you please have a look?
Thank you!
The solution works as-is, but the commented out individual rootchecks don't work when I uncomment them. I get a "TransportError: unable to communicate with loader" error. Am I missing anything out? I'm running the exploit with "frida -U -f sg.vantagepoint.uncrackable1 -l hooks.js -no-pause". I'm also encapsulating hooks.js with setImmediate(function() {}) to prevent timeout.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.