Exploit databaseDownload repository ZIP
GH-00a2781aa7745a1ae991553a9e9498d6
000999888111/op13-cve-2026-64560
Sources for CVE-2026-64560
18 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files29
000999888111/op13-cve-2026-64560Revision 88513e448e7a
- ↑..Parent directory
- mtk-phys/
- btf_offsets.py
- btf_vars.py
- capture-ui-stall.sh
- check-race-knobs.py
- clean-after-unroot.sh
- derive_bootid.py
- derive_profile.py
- fetch_magiskboot.sh
- gadget_search.py
- gen-ic-target.py
- ghostlock_crosscheck.py
- ic-run-gate.sh
- ic-run.sh
- kallsyms_layout_probe.py
- ksym.py
- label-audit-full.sh
- label-audit.sh
- lane98260-trial.sh
- panic-scan.sh
- patch_early_bridge.py
- patch_notifier_bridge_test.py
- patch_notifier_test.py
- patch_runtime_offsets.py
- patch_stage0_selinux.py
- port_target.py
- preflight.sh
- push-cli.sh
- struct-constants-from-source.sh
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
tools/clean-after-unroot.sh
Shell · 1,092 bytes#!/system/bin/sh
# 丢弃 root 后必须清掉 /data/local/tmp 里 root 属主的残留,否则 App 以 shell 身份推表会失败。
#
# 为什么:payload、offsets.conf、progress、session.log、su 这些在 root 时期写下的文件都是 root:root,
# shell 能读却不能写,App 更新它们时报"偏移表被 root 权限的文件拦住"。
#
# 为什么能删:/data/local/tmp 属主是 shell 且没有 sticky 位,所以 shell 可以删掉目录内的任意条目,
# 不需要 root。注意 rm -f 删不掉目录,root 属主的子目录要用 rm -rf;而 root 属主子目录**内部**的文件
# 仍然删不掉(需要对那个目录有写权限),那部分只能等有 root 时再清,但它不影响正常路径。
set -u
for f in /data/local/tmp/cve64560 /data/local/tmp/cve64560-* /data/local/tmp/ksud; do
[ -e "$f" ] || continue
rm -rf "$f" 2>/dev/null && echo "removed $f" || echo "KEEP (需要 root,通常无害) $f"
done
echo "--- 剩余 root 属主条目 ---"
ls -l /data/local/tmp 2>/dev/null | awk '$3=="root" {print " "$5" "$9}'
echo "done"