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

i have weird error [./backdoor-apk.sh: line 128: $LOG_FILE: ambiguous redirect] #117

Closed bleedweedsuz closed 6 years ago

bleedweedsuz commented 7 years ago

root@kali:~/Desktop/backdoor-apk# ./backdoor-apk.sh FILE.apk ./backdoor-apk.sh: line 216: $LOG_FILE: ambiguous redirect [*] Running backdoor-apk.sh v0.2.2 on Fri Sep 1 16:34:44 +0545 2017 ./backdoor-apk.sh: line 128: $LOG_FILE: ambiguous redirect [!] Check your environment and configuration. Couldn't find: msfvenom

//i saw consult_which function in shell file if i comment on exit $rc i would give this error

[*] Running backdoor-apk.sh v0.2.2 on Fri Sep 1 16:34:18 +0545 2017 ./backdoor-apk.sh: line 128: $LOG_FILE: ambiguous redirect [!] Check your environment and configuration. Couldn't find: msfvenom ./backdoor-apk.sh: line 128: $LOG_FILE: ambiguous redirect [!] Check your environment and configuration. Couldn't find: d2j-dex2jar ./backdoor-apk.sh: line 128: $LOG_FILE: ambiguous redirect [!] Check your environment and configuration. Couldn't find: unzip ./backdoor-apk.sh: line 128: $LOG_FILE: ambiguous redirect [!] Check your environment and configuration. Couldn't find: keytool ./backdoor-apk.sh: line 128: $LOG_FILE: ambiguous redirect [!] Check your environment and configuration. Couldn't find: jarsigner ./backdoor-apk.sh: line 128: $LOG_FILE: ambiguous redirect [!] Check your environment and configuration. Couldn't find: apktool ./backdoor-apk.sh: line 128: $LOG_FILE: ambiguous redirect [!] Check your environment and configuration. Couldn't find: third-party/proguard5.3.2/lib/proguard ./backdoor-apk.sh: line 128: $LOG_FILE: ambiguous redirect [!] Check your environment and configuration. Couldn't find: third-party/android-string-obfuscator/lib/aso ./backdoor-apk.sh: line 128: $LOG_FILE: ambiguous redirect [!] Check your environment and configuration. Couldn't find: third-party/android-sdk-linux/build-tools/25.0.2/dx ./backdoor-apk.sh: line 128: $LOG_FILE: ambiguous redirect [!] Check your environment and configuration. Couldn't find: third-party/android-sdk-linux/build-tools/25.0.2/zipalign ./backdoor-apk.sh: line 119: $LOG_FILE: ambiguous redirect [!] Original APK file specified is not valid

//so what's wrong with this shell file i m confused. . what configuration???? what environment????

dana-at-cp commented 6 years ago

@bleedweedsuz As the messages clearly state ... your environment/configuration is in a bad state. You are either missing dependencies required by backdoor-apk or somehow they are not in the user path.

Joao-Bonifacio commented 2 years ago

please how can i install this dependency?

third-party/android-string-obfuscator/lib/aso

I've searched a lot and couldn't find the solution.

RKRAKER commented 1 year ago

Olá, os arquivos já estão instalados , mas estão sem permissão , tenta dar "chmod +X " , deu certo comigo :)

SICADATRIDIMENSIONAL commented 1 year ago

@RKRAKER os meus não estão, sabe me dizer qual comando para baixa-los? Eu só tenho o metasploit