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
DROIDGROUND_DEVICE_TYPE=usb# Either "usb" or "network" are accepted values. Invalid values fallback to "usb"
5
+
DROIDGROUND_DEVICE_HOST=192.168.1.202# The address or host name of the device. This field is only evaluated if "DROIDGROUND_DEVICE_TYPE" is set to "network"
6
+
DROIDGROUND_DEVICE_PORT=1234# The port of the device. This field is only evaluated if "DROIDGROUND_DEVICE_TYPE" is set to "network"
7
+
DROIDGROUND_INIT_SCRIPTS_FOLDER=/init.d# The folder that contains the "setup.sh" and "reset.sh" scripts
11
8
DROIDGROUND_HOST=0.0.0.0
12
9
DROIDGROUND_PORT=4242
13
10
DROIDGROUND_APP_MANAGER_DISABLED=false# Feature enabled by default if not set otherwise
@@ -121,9 +114,9 @@ A couple of sample _Docker Compose_ files are provided in the [examples](./examp
121
114
On boot _DroidGround_ does the following:
122
115
123
116
1. Set up the connection with `adb`
124
-
2. Run the `setup.sh` in the folder specified by `DG_INIT_SCRIPTS_FOLDER` if present. This script can be used to install the target app and do everything else that's needed to init the CTF (e.g. placing the flag in a known location)
117
+
2. Run the `setup.sh` in the folder specified by `DROIDGROUND_INIT_SCRIPTS_FOLDER` if present. This script can be used to install the target app and do everything else that's needed to init the CTF (e.g. placing the flag in a known location)
125
118
3. (if _Frida_ is enabled) Download the correct `frida-server` based on the version installed and the architecture of the device and start it
126
-
4. Run the target app (the one specified through `DG_APP_PACKAGE_NAME`). If the app is not installed _DroidGround_ will exit.
119
+
4. Run the target app (the one specified through `DROIDGROUND_APP_PACKAGE_NAME`). If the app is not installed _DroidGround_ will exit.
127
120
5. Setup the _REST APIs_, the _WebSocket_ servers and the display streaming
128
121
129
122
Here is a sample `setup.sh` script:
@@ -175,7 +168,7 @@ Pull requests are welcome! Please open an issue first to discuss major changes.
175
168
176
169
## 📚 Credits
177
170
178
-
Developed by Angelo Delicato [@SECFORCE](https://www.secforce.com).
171
+
Developed by [Angelo Delicato](https://github.com/thelicato)[@SECFORCE](https://www.secforce.com).
179
172
180
173
The _server_ section heavily relies on the amazing work done by [@yume-chan](https://github.com/yume-chan/ya-webadb), probably this app wouldn't exist if it wasn't for his amazing work.
0 commit comments