Closed nehonpa closed 1 year ago
请不要在这里反馈非 ZygiskOnKernelSU 的「问题」
冷知识:系统证书不一定要用模块,你可以单独给 app 进程挂载证书(同时,Shamiko 仍然是生效的)
附 shell
# 创建临时目录
mkdir -p /mnt/cert
# 放置证书
cp mitmproxy/c8750f0d.0 /mnt/cert
# 修正权限
/system/bin/chcon u:object_r:system_security_cacerts_file:s0 /mnt/cert
chmod 755 /mnt/cert
/system/bin/chcon u:object_r:system_security_cacerts_file:s0 /mnt/cert/*
chmod 644 /mnt/cert/*
# 在 app 启动的情况下,把它挂载到 app 的 ns 中(以包名 com.baidu.tieba 为例):
pids=$(pgrep -f 'com\.baidu\.tieba.*')
for pid in $pids; do
echo "mount for $pid $(cat /proc/$pid/cmdline)"
nsenter --mount="/proc/$pid/ns/mnt" mount -t overlay CERTS -olowerdir=/mnt/cert:/system/etc/security/cacerts /system/etc/security/cacerts
done
我觉得不要在 issue 里问跟项目完全不相关的问题是一个基本常识呢,你不会以为你能得到答复吧
Steps to reproduce/复现步骤
大佬抱歉,请允许我在这里反馈一个关于shamiko模块中的白名单模式的问题,经过我多次的测试,发现开启了白名单模式的shamiko会导致我magisk中的Move Certificates移动用户证书到系统证书的这个模块失效。 可能是因为白名单模式的全局屏蔽root导致的Move Certificates没有权限移动证书,所以想请大佬尝试修复这个问题可以吗?没有添加到系统证书导致我无法使用查尔斯或是其他抓包工具顺利抓取https的请求。
Expected behaviour/预期行为
经过测试,把shamiko关闭后重启,Move Certificates模块就能正常工作了。
Actual behaviour/实际行为
开启了白名单模式的shamiko会导致我magisk中的Move Certificates移动用户证书到系统证书的这个模块失效。
KernelSU Module List/KernelSU 模块列表
Zygisk on KernelSU version/Zygisk on KernelSU 版本
26.1
Android version/Android 版本
Android 10
KernelSU version/KernelSU 版本
0.0.0
Version requirement/版本要求
Logs/日志
movecert-1.9-4.zip Shamiko-v0.7.3-174-release.zip LSPosed-v1.8.6-6712-zygisk-release.zip