Files
notiMessage/scripts/_tng_getprop_hunt.sh
mars 609635aba1 chore: 备份 TNG 注册/captcha 逆向与 MariBank SG bypass 进展
TngRootBypassHook 增强 captcha 诊断、TigerTally/JNIC 分层与 HWUI 策略;新增逆向脚本、Frida 工具与 UI dump;同步 MariBank SG hook 与 tng_exit_guard 更新。
2026-08-03 15:23:02 +08:00

23 lines
802 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/system/bin/sh
# 抓到 getprop 子进程瞬间 dump 其 syscall/status验证 exit_group 被 seccomp 卡住)
PKG="my.com.tngdigital.ewallet"
am force-stop "$PKG" 2>/dev/null
sleep 1
am start -n "$PKG/.ui.SplashActivity" 2>/dev/null
i=0
while [ $i -lt 200 ]; do
i=$((i+1))
for gp in $(pidof getprop 2>/dev/null); do
ppid=$(awk '/^PPid/{print $2}' /proc/$gp/status 2>/dev/null)
pp=$(tr '\0' ' ' < /proc/$ppid/cmdline 2>/dev/null)
echo "GETPROP pid=$gp ppid=$ppid pp=[$pp]"
echo " seccomp: $(grep -i seccomp /proc/$gp/status 2>/dev/null | tr '\n' ' ')"
echo " syscall: $(cat /proc/$gp/syscall 2>/dev/null)"
echo " wchan: $(cat /proc/$gp/wchan 2>/dev/null) state=$(awk '/^State/{print $2}' /proc/$gp/status 2>/dev/null)"
done
sleep 0.05
done
echo "=== done ==="