Skip to content

Commit b9862de

Browse files
committed
fix: Expand RootExecutor command whitelist for activity/process queries
1 parent 6b64414 commit b9862de

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app/src/main/java/com/appcontrolx/executor/RootExecutor.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,12 @@ class RootExecutor : CommandExecutor {
1616
"appops set",
1717
"appops get",
1818
"cmd appops",
19+
"cmd activity",
1920
"getprop",
20-
"dumpsys"
21+
"dumpsys activity",
22+
"dumpsys package",
23+
"ps -A",
24+
"cat /proc"
2125
)
2226

2327
// Dangerous patterns that should never be executed

0 commit comments

Comments
 (0)