backdoor-apk
backdoor-apk copied to clipboard
Failed to locate smali file to hook
[*] Running backdoor-apk.sh v0.2.4a on Wed 02 Oct 2019 03:18:49 PM +06 [+] Android payload options:
- meterpreter/reverse_http 4) shell/reverse_http
- meterpreter/reverse_https 5) shell/reverse_https
- meterpreter/reverse_tcp 6) shell/reverse_tcp [?] Please select an Android payload option: 3 [?] Please enter an LHOST value: ------------ [?] Please enter an LPORT value: ---- [+] Android manifest permission options:
- Keep original
- Merge with payload and shuffle [?] Please select an Android manifest permission option: 2 [+] Handle the payload via resource script: msfconsole -r backdoor-apk.rc [] Decompiling original APK file...done. [] Locating smali file to hook in original project...done. [!] Failed to locate smali file to hook
hey did you find how to fix that problem ?
I see this was a bug and was supposed to have been fixed back in 2017. I am still seeing this issue on numerous APKs.
I see this was a bug and was supposed to have been fixed back in 2017. I am still seeing this issue on numerous APKs.
ditto
Just replace smali_file_to_hook=$MY_PATH/original/smali/$android_class.smali
to smali_file_to_hook=$(find $MY_PATH/original/smali/ -name '*$android_class*')
in script file.
Thank you very much
#191 This logic is being improved.