You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am facing an issue with dex2jar while running APKHunt. I am using a Docker Ubuntu container and have installed all the required packages. However, when I try to run it, I encounter an error stating that dex2jar has not been observed. Could you please assist me with this? I have attached the console screenshot of it.
Below are the export paths,
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-arm64
export PATH=$PATH:$JAVA_HOME/bin
export PATH=$PATH:/opt/jadx/bin
export PATH=$PATH:/opt/dex2jar
export PATH=$PATH:/opt/dex2jar/dex2jar-2.0 //tried with both path
Thank you.
The text was updated successfully, but these errors were encountered:
I actually fixed this by modifying the source code and adding .sh when the dex2jar is going to be excecuted.
changed it to: cmd_apk_dex2jar, err := exec.Command("d2j-dex2jar.sh", apkpath, "-f", "-o", dex2jarpath).CombinedOutput()
also make sure to comment that section which checks for d2j-dex2jar in help in lines 72-75. // case "d2j-dex2jar": //fmt.Printf("\n[!] dex2jar has not been observed. \n[!] Kindly install it first! \n[!] Exiting...") } //os.Exit(0)
in case of being able to run dex2jar from any folder, here is how i added the directory to PATH. export PATH="$HOME/projects/mobileAppSec/tools/dex-tools-v2.4:$PATH"
I actually fixed this by modifying the source code and adding .sh when the dex2jar is going to be excecuted. changed it to: cmd_apk_dex2jar, err := exec.Command("d2j-dex2jar.sh", apkpath, "-f", "-o", dex2jarpath).CombinedOutput()
also make sure to comment that section which checks for d2j-dex2jar in help in lines 72-75. // case "d2j-dex2jar": //fmt.Printf("\n[!] dex2jar has not been observed. \n[!] Kindly install it first! \n[!] Exiting...") } //os.Exit(0)
in case of being able to run dex2jar from any folder, here is how i added the directory to PATH. export PATH="$HOME/projects/mobileAppSec/tools/dex-tools-v2.4:$PATH"
Hi Team,
I am facing an issue with dex2jar while running APKHunt. I am using a Docker Ubuntu container and have installed all the required packages. However, when I try to run it, I encounter an error stating that dex2jar has not been observed. Could you please assist me with this? I have attached the console screenshot of it.
Below are the export paths,
Thank you.
The text was updated successfully, but these errors were encountered: