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.2k stars 699 forks source link

Failed to sign recompiled APK #153

Closed mohammadrezza closed 6 years ago

mohammadrezza commented 6 years ago

jar signer says unable to open jar file , what should i do ?

dana-at-cp commented 6 years ago

@mohammadrezza anything interesting in run.log?

dana-at-cp commented 6 years ago

@mohammadrezza FYI. The script depends on some directories included in the project. If you move the backdoor-apk.sh script to some new location it will break a lot of things.

mohammadrezza commented 6 years ago

the ending lines of run.log is: Value of from_date_str: 2012/09/19 07:35: Value of validity: 30000 jarsigner: unable to open jar file: /root/Downloads/backdoor-apk/backdoor-apk/original/dist/../../SHAREit_3.5.48_Android.apk Forcing cleanup due to a failure or error state! i ran this command : root@kali-arm64:~/Downloads/backdoor-apk/backdoor-apk# sudo ./backdoor-apk.sh ../../SHAREit_3.5.48_Android.apk

dana-at-cp commented 6 years ago

@mohammadrezza This is a very simple bug but as a workaround move the APK file to the same directory as the backdoor-apk.sh script.

dana-at-cp commented 6 years ago

@mohammadrezza This is fixed in version 0.2.4a.