Giter Club home page Giter Club logo

Comments (7)

ClaudiuGeorgiu avatar ClaudiuGeorgiu commented on September 27, 2024

Hi, what operating system are you using? Does it work if you remove -u $(id -u):$(id -g) from the command?

from obfuscapk.

70r63x avatar 70r63x commented on September 27, 2024

Hi, im using Windows 10

docker --version Docker version 20.10.22, build 3a2c30b

`docker run --rm -it obfuscapk --help
usage: python3 -m obfuscapk.cli [-h] -o OBFUSCATOR [-w DIR] [-d OUT_APK_OR_AAB] [-i] [-p] [--use-aapt2]
[-k VT_API_KEY] [--keystore-file KEYSTORE_FILE]
[--keystore-password KEYSTORE_PASSWORD] [--key-alias KEY_ALIAS]
[--key-password KEY_PASSWORD] [--ignore-packages-file IGNORE_PACKAGES_FILE]
<APK_OR_BUNDLE_FILE>

Obfuscate an application (.apk/.aab) without needing its source code.`

from obfuscapk.

70r63x avatar 70r63x commented on September 27, 2024

If I remove this flag, I have a new error

The command docker run --rm -it -v "${PWD}":"/workdir" obfuscapk -o AdvancedReflection -o ArithmeticBranch -o AssetEncryption -o CallIndirection -o MethodOverload -o RandomManifest -o Rebuild app-release.apk -p

the error docker: Error response from daemon: create ${PWD}: "${PWD}" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path.

Thanks

from obfuscapk.

ClaudiuGeorgiu avatar ClaudiuGeorgiu commented on September 27, 2024

See this for Windows: https://stackoverflow.com/a/41489151/5268548. You can also try using the absolute path instead of ${PWD} (e.g., C:\path\to\apk\directory\).

from obfuscapk.

70r63x avatar 70r63x commented on September 27, 2024

Thnaks for the info

I changed the OS to Mac and work very find for me.

but a have some problems when I try to obfuscate my app again, the process is running but is stay cold in the first part and don´t do anymore.

I try to execute the command again but ocurse the same and dont avanced more
WhatsApp Image 2023-02-13 at 9 47 02 AM

Thanks

from obfuscapk.

ClaudiuGeorgiu avatar ClaudiuGeorgiu commented on September 27, 2024

The current image on DockerHub does not support M1 chips, I'll have to add it and also add the right command to use when using Docker on Windows.

from obfuscapk.

70r63x avatar 70r63x commented on September 27, 2024

Thanks so much for the help

I will wait for the update to Mac chip M1 and windows command

Greetings

from obfuscapk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.