Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker image not functional #96

Open
mohaidoss opened this issue Nov 5, 2024 · 1 comment · May be fixed by #97
Open

Docker image not functional #96

mohaidoss opened this issue Nov 5, 2024 · 1 comment · May be fixed by #97

Comments

@mohaidoss
Copy link

Hi, running apkleaks through the docker image using the command below
docker run -it --platform=linux/x86_64 --rm -v /tmp/apks:/tmp dwisiswant0/apkleaks:latest -f /tmp/base.apk
ends up with the following error message

     _    ____  _  ___               _
    / \  |  _ \| |/ / |    ___  __ _| | _____
   / _ \ | |_) | ' /| |   / _ \/ _` | |/ / __|
  / ___ \|  __/| . \| |__|  __/ (_| |   <\__ \
 /_/   \_\_|   |_|\_\_____\___|\__,_|_|\_\___/
 v2.6.3
 --
 Scanning APK file for URIs, endpoints & secrets
 (c) 2020-2024, dwisiswant0

Can't find jadx binary.
Do you want to download jadx? (Y/n) Y

** Downloading jadx...

** Decompiling APK...

ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.

Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.


** Scanning against 'xx.xxxxxxxx.xxxxxxxxxx'

** Done with nothing. ¯\_(ツ)_/¯

Along with the fix, why isn't jadx included by default in the image ? User end up re-installing jadx every run.

I'm available to contribute :p

@dwisiswant0
Copy link
Owner

I'm available to contribute :p

Yeah, talk is cheap, send patches.

@mohaidoss mohaidoss linked a pull request Nov 5, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants