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

Check your invironment and configuration #125

Closed abdozekaa closed 6 years ago

abdozekaa commented 6 years ago

I am running on kali nethunter and i get this issue screenshot_20171110-051301

dana-at-cp commented 6 years ago

@abdozekaa I'm guessing Kali nethunter doesn't have dex2jar installed by default or it has a different name or path?

abdozekaa commented 6 years ago

Am new .. so what should i do Am so sorry for the late

r4z0r5 commented 6 years ago

Also note that ProGuard is now 5.3.3, the tool is still looking for 5.3.2

wh001s commented 6 years ago

Hi, I have similar issue running on kali 2.0

"Check your environment and configuration. Couldn't find: jarsigner"

even though JDK is installed java -version output is: openjdk version "1.8.0_151" OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-1-b12) OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)

kernel headers are installed

any ideas?

EDIT: never mind, I edited the script and manually entered jarsigner path.

Another issue is "Failed to copy RAT smali files", happens with any apk I heave tried.

run.log: mkdir: created directory '/root/backdoor-apk/backdoor-apk/original/smali/us' mkdir: created directory '/root/backdoor-apk/backdoor-apk/original/smali/us/sigma' mkdir: created directory '/root/backdoor-apk/backdoor-apk/original/smali/us/sigma/ias' cp: cannot stat '/root/backdoor-apk/backdoor-apk/payload/smali/com/metasploit/stage/MainBroadcastReceiver.smali': No such file or directory Forcing cleanup due to a failure or error state!

HongLuDianXue commented 6 years ago

me too...

SagarspTEE commented 6 years ago

How to fix couldn't find:d2j-dex2jar on Kali Linux I have downloaded this file but I'm unable to run help me..

dana-at-cp commented 6 years ago

Can't support environment issues. Sorry.