Exploit databaseDownload repository ZIP
GH-9a5882e7ccc9d6ddf7c3c7d45e2e275b
ramenfast/zenfone9-root
Sources for CVE-2025-21479
12 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files14
ramenfast/zenfone9-rootRevision 89546acff7ca
- ↑..Parent directory
- build.sh
- demo-root.sh
- fastboot-recon.sh
- patch-dwords.sh
- root-burst.sh
- root-cred.sh
- root-fast.sh
- root-final.sh
- root-now.sh
- root-usable.sh
- sweep-phyaddr.sh
- sweep2.sh
- sweep3.sh
- verify-backup.sh
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
scripts/verify-backup.sh
Shell · 770 bytes#!/usr/bin/env bash
# verify-backup.sh — md5-verify pulled Zenfone backup against on-device originals
# usage: verify-backup.sh <backup-dir> [serial]
set -u
BACKUP="${1:?usage: verify-backup.sh <backup-dir> [serial]}"
SERIAL="${2:-<SERIAL>}"
fail=0; total=0
while IFS= read -r rel; do
[ -n "$rel" ] || continue
total=$((total+1))
remote=$(adb -s "$SERIAL" shell "md5sum '/sdcard/$rel'" 2>/dev/null </dev/null | awk '{print $1}')
local_md=$(md5sum "$BACKUP/$rel" </dev/null | awk '{print $1}')
if [ "$remote" = "$local_md" ]; then
echo "OK $rel"
else
echo "FAIL $rel remote=$remote local=$local_md"
fail=$((fail+1))
fi
done < <(cd "$BACKUP" && find . -type f -printf '%P\n' | sort)
echo "checked=$total failures=$fail"
exit $(( fail > 0 ))