Skip to content

Commit

Permalink
Updated Dockerfile (quarkslab#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmpasilva authored May 4, 2024
1 parent 208149b commit 904e48a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:bookworm-20240423-slim
FROM debian:bookworm-slim

RUN apt update
RUN apt install -y python3 \
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,22 +64,22 @@ The unpacked DEX files are located in the ``unpacked.apk`` file.

The apk file created will have incorrect checksums on the classes.dex, which jadx will complain about. You can either disable the checksum check in jadx, or you can do `apktool d unpacked.apk && apktool b unpacked` to fix the checksums. I had some trouble fixing the checksums programmatically in the script - if someone wants to figure that out and submit a pull request, I'd appreciate it.

## Using docker
## Usage with docker

**Building the container:**

```
docker build . -t legu-unpacker
```

**Running the container**
**Running the container:**

```
docker run -v "$(pwd)":/unpacker legu-unpacker python ./unpack.py ./samples/com.intotherain.voicechange.apk
docker run --rm -v "$(pwd)":/unpacker legu-unpacker python ./unpack.py ./samples/com.intotherain.voicechange.apk
```

**Deleting the docker image**
**Untagging the docker image:**

```
docker image rm legu-unpacker
```
```

0 comments on commit 904e48a

Please sign in to comment.