Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

双开的应用无法使用黑白名单 #121

Open
maxfun0 opened this issue Jun 22, 2024 · 4 comments
Open

双开的应用无法使用黑白名单 #121

maxfun0 opened this issue Jun 22, 2024 · 4 comments

Comments

@maxfun0
Copy link

maxfun0 commented Jun 22, 2024

tproxy模式开启黑白名单,双开的应用无法生效,box4magisk可以添加双开的应用到黑白名单,希望能够支持

@LIghtJUNction
Copy link
Contributor

需要去配置文件里面改,加上 -0,999,999是双开用户的

@maxfun0
Copy link
Author

maxfun0 commented Jun 24, 2024

就是加了无效啊,难道格式和box4magisk不一样?

@kxzxxx
Copy link

kxzxxx commented Aug 19, 2024

find_packages_uid() { echo -n "" > "${uid_list}" for package in "${packages_list[@]}"; do busybox awk -v p="${package}" '$1~p{print $2}' "${system_packages_file}" >> "${uid_list}" done for package_999 in "${packages_list_999[@]}"; do busybox awk -v p="${package_999}" '$1~p{print $2}' "${system_packages_file}" | while read line ; do if [[ -n "${line}" ]]; then uid999=$((line + 99900000)) echo $uid999 >> "${uid_list}" fi done done busybox sort "${uid_list}"|busybox uniq|busybox tail -n +2 > /data/adb/box/run/test_uid.txt busybox sort -r /data/adb/box/run/test_uid.txt -o "${uid_list}" rm /data/adb/box/run/test_uid.txt }

替换box.iptables里边的函数
在settings.ini里加package_999

@jiz4oh
Copy link

jiz4oh commented Jan 3, 2025

希望支持 + 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants