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

Could not find: d2j-dex2jar #103

Closed pacman-vzla closed 7 years ago

pacman-vzla commented 7 years ago

When I start apk-backdoor.sh I get the error:  [!] Check your environment and configuration. Could not find: d2j-dex2jar Try apt-get install dex2jar and I get the error "The dex2jar package could not be located"

peterpt commented 7 years ago

dex2jar can be found in kali repositories or can be downloaded here : https://sourceforge.net/projects/dex2jar/

In case you want to install it by apt , then change your repositories to kali and then apply :

after instalation remove kali repositories from your sources list and do an "apt-get update" with only your linux OS original repositories .

By default dex2jar is a reverse tool , and is not implemented in non pentest linux distributions . However , if you download it from sourceforge then make sure you install in in /usr/local/sbin folder .

dana-at-cp commented 7 years ago

@pacman-vzla Did you get this resolved?

pacman-vzla commented 7 years ago

Yeah, thanks <3

brianmituka commented 7 years ago

I'm using linux mint. How do I install dex2jar? I've already downloaded it from sourceforgenet and copied the d2j-dex2jar.sh to usr/local/sbin, but i'm still getting the error.

hydrahelsing commented 6 years ago

@brianmituka follow this If anyone here is using linux mint follow this: 1º Get the download of dex2jar here https://sourceforge.net/projects/dex2jar/. 2º Open your backdoor-apk.sh with gedit and search for "DEX2JAR = dex2jar" change dex2jar for the path of the file d2j-dex2jar.sh for example DEX2JAR = /home/work/dexjar/d2j-dex2jar.sh. 3º Save the file and enjoy.