dana-at-cp / backdoor-apk

backdoor-apk is a shell script that simplifies the process of adding a backdoor to any Android APK file. Users of this shell script should have working knowledge of Linux, Bash, Metasploit, Apktool, the Android SDK, smali, etc. This shell script is provided as-is without warranty of any kind and is intended for educational purposes only.
Apache License 2.0
2.17k stars 699 forks source link

Failed to locate smali file to hook #183

Closed delgiu87 closed 1 year ago

delgiu87 commented 4 years ago

run.log I think some upgrade in google certificate? how can solve this? we should upgrade something? just tried with other apps

I: Decoding file-resources... W: Cant find 9patch chunk in file: "drawable-xxhdpi-v4/common_google_signin_btn_text_light_normal_background.9.png". Renaming it to .png. W: Cant find 9patch chunk in file: "drawable-xxhdpi-v4/common_google_signin_btn_icon_dark_normal_background.9.png". Renaming it to .png. W: Cant find 9patch chunk in file: "drawable-xxhdpi-v4/common_google_signin_btn_icon_light_normal_background.9.png". Renaming it to .png. W: Cant find 9patch chunk in file: "drawable-xxhdpi-v4/common_google_signin_btn_text_dark_normal_background.9.png". Renaming it to .png. I: Decoding values / XMLs...

hartmanfrost commented 3 years ago

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.

dana-at-cp commented 1 year ago

191 There are some issues identified with this logic. I'm working on a fix.