-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.env.sample
More file actions
33 lines (33 loc) · 3.52 KB
/
.env.sample
File metadata and controls
33 lines (33 loc) · 3.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
DROIDGROUND_BASE_PATH= # If you want to host the webapp on a subpath
DROIDGROUND_APP_PACKAGE_NAME=com.droidground.hiddenactivity
DROIDGROUND_ADB_HOST=localhost
DROIDGROUND_ADB_PORT=5037
DROIDGROUND_ADB_SERIAL= # Optional device serial to connect to. If unspecified, the first connected device is used.
DROIDGROUND_DEVICE_TYPE=usb # Either "usb" or "network" are accepted values. Invalid values fallback to "usb"
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"
DROIDGROUND_DEVICE_PORT=1234 # The port of the device. This field is only evaluated if "DROIDGROUND_DEVICE_TYPE" is set to "network"
DROIDGROUND_INIT_SCRIPTS_FOLDER=/init.d # The folder that contains the "setup.sh" and "reset.sh" scripts
DROIDGROUND_HOST=0.0.0.0
DROIDGROUND_PORT=4242
DROIDGROUND_RESTART_APP_DISABLED=false # Feature enabled by default if not set otherwise
DROIDGROUND_APP_MANAGER_DISABLED=false # Feature enabled by default if not set otherwise
DROIDGROUND_BUG_REPORT_DISABLED=false # Feature enabled by default if not set otherwise
DROIDGROUND_FILE_BROWSER_DISABLED=false # Feature enabled by default if not set otherwise
DROIDGROUND_FRIDA_DISABLED=false # Feature enabled by default if not set otherwise
DROIDGROUND_FRIDA_TYPE=jailed # Either "jail" or "full" are accepted values. Invalid values fallback to "jail" (this value makes sense only if Frida is NOT disabled)
DROIDGROUND_FRIDA_INJECTION=server # Either "server" or "gadget" are accepted values fallback to "server" (this value makes sense only if Frida is NOT disabled)
DROIDGROUND_LOGCAT_DISABLED=false # Feature enabled by default if not set otherwise
DROIDGROUND_REBOOT_ENABLED=false # Feature enabled by default if not set otherwise
DROIDGROUND_SHUTDOWN_ENABLED=false # Feature disabled by default if not set otherwise
DROIDGROUND_START_ACTIVITY_DISABLED=false # Feature enabled by default if not set otherwise
DROIDGROUND_START_RECEIVER_DISABLED=false # Feature enabled by default if not set otherwise
DROIDGROUND_START_SERVICE_DISABLED=false # Feature enabled by default if not set otherwise
DROIDGROUND_TERMINAL_DISABLED=false # Feature enabled by default if not set otherwise
DROIDGROUND_RESET_DISABLED=false # Feature enabled by default if not set otherwise
DROIDGROUND_EXPLOIT_APP_DURATION=10 # The time (in seconds) the exploit app will be active before the target app is restarted. This field makes sense only if the App Manager is enabled. Default value is 10
DROIDGROUND_EXPLOIT_APP_MAX_SIZE=50 # The max size (in MB) of the exploit app. This field makes sense only if the App Manager is enabled. Default value is 50
DROIDGROUND_NUM_TEAMS=0 # Number of teams playing, this enables the usage of team-based tokens/keys to lock down the usage of installed apps and log servers
DROIDGROUND_TEAM_TOKEN_1=RANDOMSTRING # Token for team #1, this only makes sense if DROIDGROUND_NUM_TEAMS is higher than 0. If a team token is not explicitly defined it'll be randomly generated on boot and present in the output logs
DROIDGROUND_IP_STATIC=192.168.1.1 # Shows a static IP address in the Exploit Server page, this takes precedence over DROIDGROUND_IP_IFACE
DROIDGROUND_IP_IFACE=eth0 # If this is set the UI will display the IP address associated with it. If an exact match is not found it will fallback to the first interface that starts with it. Useful to provide to the users the IP of the exploit server if dynamic. Empty by default
DROIDGROUND_LOGO_LINK=https://droidground.com # Optionally set the logo click-through link (e.g., your CTF main page)