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
RUN wget -q -O"/opt/axmlprinter.jar" https://github.com/rednaga/axmlprinter/releases/download/${AXMLPRINTER_VERSION}/axmlprinter-${AXMLPRINTER_VERSION}.jar
91
71
92
72
#Dex2Jar
93
73
RUN wget -q -O"/opt/dex2jar.zip" https://github.com/pxb1988/dex2jar/files/1867564/dex-tools-${DEX2JAR_VERSION}.zip \
@@ -104,47 +84,24 @@ RUN cd /opt && git clone https://github.com/cryptax/droidlysis && cd /opt/droidl
104
84
RUN chmod u+x /opt/droidlysis/droidlysis
105
85
RUN sed -i 's#~/softs#/opt#g' /opt/droidlysis/conf/general.conf
106
86
107
-
# Enjarify
108
-
RUN cd /opt && git clone https://github.com/Storyyeller/enjarify && ln -s /opt/enjarify/enjarify.sh /usr/bin/enjarify
Copy file name to clipboardExpand all lines: README.md
+44-63Lines changed: 44 additions & 63 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,55 +1,21 @@
1
1
# What's this?
2
2
3
-
This repository contains 3 _docker_ images for the reverse engineering of _Android_ applications.
3
+
This repository contains 1 docker image for the reverse engineering of _Android_ applications:
4
4
5
-
1. Android RE tools: `cryptax/android-re:2023.07` (1.7 GB). This image contains reverse engineering tools.
6
-
2. Dexcalibur: `cryptax/dexcalibur:2023.01`. Contains Dexcalibur. Particularly useful for users whose OS does not support Dexcalibur...
7
-
3.*Obsolete and broken*: Android emulators: `cryptax/android-emu:2021.01` (3.4 GB). This image contains the Android SDK and emulators.
5
+
- Android RE tools: `cryptax/android-re:2023.07` (1.7 GB). This image contains reverse engineering tools.
8
6
7
+
**The other images are obsolete and/or broken**: `cryptax/dexcalibur:2023.01` and `cryptax/android-emu:2021.01`.
9
8
10
9
**Disclaimer**: Please use responsibly.
11
10
12
-
# Download / Install
11
+
# Quick Setup
13
12
14
13
You are expected to download those containers via `docker pull`:
15
14
16
-
-`docker pull cryptax/android-re:2023.07`
17
-
-`docker pull cryptax/dexcalibur:2023.01`
15
+
1.`docker pull cryptax/android-re:2023.07`
16
+
2.`docker-compose up -d android-retools`
18
17
19
-
If you wish to *build the images locally*: `docker-compose build`. This will build both images. If you only want to build one, add its name (see `docker-compose.yml`) e.g `docker-compose build android-retools`
20
-
21
-
# Run the containers
22
-
23
-
## Running dexcalibur
24
-
25
-
`docker run --rm --network=host -v /tmp/dexcalibur:/workshop -it cryptax/dexcalibur:2023.01 /bin/bash`
26
-
27
-
## Running android-re or android-emu
28
-
29
-
Use `docker-compose`:
30
-
31
-
- Start Android RE tools container: `docker-compose up -d android-retools`
32
-
- Start Android emulator container: `docker-compose up -d android-emulators`
33
-
- Stop both containers: `docker-compose stop`
34
-
- To stop only one container, same as starting it: add its name at the end of the command.
35
-
36
-
37
-
# Using the containers
38
-
39
-
Note that:
40
-
41
-
- Each Docker container exports a *SSH* port and a *VNC* port.
42
-
- The Android RE tools container exposes a port for NodeJS in addition.
43
-
- It is useful to share a local directory with `/workshop` in the container to easily read/write files.
44
-
45
-
Once the containers are up and running, you can **connect using SSH or VNC**. The default credentials are `root/mypass` but you are encouraged to **modify this** (in `docker-compose.yml`).
46
-
47
-
For SSH:
48
-
49
-
- Be certain to specify the **port**. For SSH, it is `ssh -p PORT`, for scp `scp -P PORT`.
50
-
- Make sure to use **X11 Forwarding**. This is `-X` option for ssh.
51
-
52
-
Example:
18
+
Access by SSH:
53
19
54
20
```
55
21
$ xhost +
@@ -62,57 +28,72 @@ For VNC, install a *VNC viewer*, then:
62
28
$ vncviewer 127.0.0.1::5900
63
29
```
64
30
65
-
# Android emulators image (`android-emu`)
66
-
67
-
It contains:
31
+
Default password is `mypass`. See `docker_compose.yml` to change it.
68
32
69
-
- Android SDK
70
-
- Android emulator 5.1 ARM
71
-
- Android emulator 11 x86_64
33
+
# Customization
72
34
73
-
See `~/.bashrc` for aliases to run those emulators.
74
-
See `Dockerfile.emulators` if you wish to customize.
75
-
76
-
## Android x86_64 emulator
35
+
If you wish to *build the images locally*: `docker-compose build`. This will build both images. If you only want to build one, add its name (see `docker-compose.yml`) e.g `docker-compose build android-retools`
77
36
78
-
The "normal" Android emulators emulate ARM architecture. If your host uses Intel x86 and supports hardware virtualization instructions, you can use the Android emulator for x86, which will be **much faster**. The Dockerfile installs the necessary packages, yet, for this option to work, you must:
37
+
Ports for SSH and VNC can be customized.
79
38
80
-
- Have an Intel x86-64 processor on your host which supports virtualization (e.g Intel VT)
81
-
- Launch the container with the `--privileged` option.
0 commit comments