androidtrainings icon indicating copy to clipboard operation
androidtrainings copied to clipboard

UnCrackable-Level3.apk run_usb_spawn.py error

Open aoprea1982 opened this issue 4 years ago • 0 comments

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

https://github.com/enovella/androidtrainings/blob/master/owasp-crackmes/level3/UnCrackable-Level3.apk

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!

aoprea1982 avatar Jul 29 '20 03:07 aoprea1982