backdoor-apk icon indicating copy to clipboard operation
backdoor-apk copied to clipboard

Failed to locate smali file to hook

Open justMSARahat opened this issue 4 years ago • 5 comments

[*] Running backdoor-apk.sh v0.2.4a on Wed 02 Oct 2019 03:18:49 PM +06 [+] Android payload options:

  1. meterpreter/reverse_http 4) shell/reverse_http
  2. meterpreter/reverse_https 5) shell/reverse_https
  3. 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:
  4. Keep original
  5. 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

justMSARahat avatar Oct 02 '19 09:10 justMSARahat

hey did you find how to fix that problem ?

MrFey avatar Apr 12 '20 17:04 MrFey

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.

ll3N1GmAll avatar May 13 '20 00:05 ll3N1GmAll

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

xiaofengjue avatar Nov 28 '20 12:11 xiaofengjue

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.

hartmanfrost avatar Jan 06 '21 14:01 hartmanfrost

Thank you very much

HeYiKunclass avatar Jun 12 '22 14:06 HeYiKunclass

#191 This logic is being improved.

dana-at-cp avatar Sep 12 '22 16:09 dana-at-cp