Exploit databaseDownload repository ZIP
GH-5fd8ef322ef5cc51c148ecb7362c28e5
rebilibin/ghostlock-oppo-watch3pro
Sources for CVE-2026-43499
164 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files43
rebilibin/ghostlock-oppo-watch3proRevision 3f63fa67f79d
- ↑..Parent directory
- armdis.py
- dis_cmd_add_cmdlist.txt
- dis_cmd_add_ibdesc.txt
- dis_cmd_add_memlist.txt
- dis_drawctxt_create.txt
- dis_drawctxt_destroy.txt
- dis_drawobj_cmd_create.txt
- dis_get_ctxt_props.txt
- dis_getproperty.txt
- dis_gpu_command.txt
- dis_gpumem_get_info.txt
- dis_gpuobj_alloc.txt
- dis_gpuobj_import.txt
- dis_gpuobj_info.txt
- dis_gpuobj_set_info.txt
- dis_gpuobj_sync.txt
- dis_kgsl_mmap.txt
- dis_map_user_mem.txt
- dis_prop_query_caps.txt
- dis_prop_version.txt
- dis_rb_issueibcmds.txt
- dis_setproperty.txt
- dis_setup_dma_buf.txt
- dis_setup_useraddr.txt
- dis_shadow_mem.txt
- dis_submit_commands.txt
- dis_sync_cache_bulk.txt
- dump_data.py
- dump_hex.py
- find_perms.py
- ioctl_funcs_dump.txt
- kgsl_all_syms.txt
- kgsl_cpu_vuln_report.md
- kgsl_ioctl_table.txt
- kgsl_map_user_mem_toctou_00522.md
- kgsl_mmap_fix_and_chain_00522.md
- kgsl_re.py
- lookup.py
- scan_data.py
- scan_ioctl.py
- setupuseraddr_dis.txt
- setupuseraddr_llvm.txt
- verify.py
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
_rev/find_perms.py
Python · 2,305 bytes#!/usr/bin/env python3
"""Search for section_perms-like arrays: pairs of known section marker addresses."""
BIN = r"G:\k70bootloader\Rootme-main\kernel_decompressed.bin"
BASE = 0xC0008000
data = open(BIN, "rb").read()
def find_bytes(pat, start=0):
out = []
i = data.find(pat, start)
while i != -1:
out.append(i)
i = data.find(pat, i + 1)
return out
def u32_at(off):
return int.from_bytes(data[off:off+4], "little")
# byte patterns (little-endian) of key addresses
stext = (0xC0100000).to_bytes(4, "little") # 00 00 10 C0
init_begin = (0xC1900000).to_bytes(4, "little") # 00 00 90 C1
start_rodata = (0xC0FB0000).to_bytes(4, "little")
end_rodata = (0xC1825000).to_bytes(4, "little")
start_roai = (0xC17A9258).to_bytes(4, "little")
end_roai = (0xC17ACD80).to_bytes(4, "little")
sdata = (0xC1A00000).to_bytes(4, "little")
edata = (0xC1B1D080).to_bytes(4, "little")
# find array entries: {start=0xc0100000, end=0xc1900000} adjacent (offset 0/4) or offset +4/+8
pairs = [
("stext->init_begin", stext, init_begin, 0),
("stext->init_begin +4", stext, init_begin, 4),
("start_rodata->end_rodata", start_rodata, end_rodata, 0),
("start_rodata->end_rodata +4", start_rodata, end_rodata, 4),
("start_roai->end_roai", start_roai, end_roai, 0),
("start_roai->end_roai +4", start_roai, end_roai, 4),
("sdata->edata", sdata, edata, 0),
]
for label, a, b, delta in pairs:
hits = find_bytes(a)
print(f"== {label}: {len(hits)} hits for {a.hex()}")
for h in hits:
# check if b appears at h+4 or h+8
for off in (4, 8):
if data[h+off:h+off+4] == b:
va = BASE + h
print(f" offset 0x{h:X} (va 0x{va:08X}): {a.hex()} @+0, {b.hex()} @+{off}")
# dump 36 bytes context
ctx = data[h-8:h+40]
words = " ".join(f"{u32_at(h-8+k*4):08X}" for k in range(12))
print(f" ctx: {words}")
print()
# dump corrected list base
def dump(addr, words):
off = addr - BASE
print(f"--- 0x{addr:08X} ---")
for i in range(0, words, 4):
line = f"{addr+i*4:08X}:"
for j in range(4):
line += f" {u32_at(off+(i+j)*4):08X}"
print(line)
dump(0xC1A112C0, 8)
dump(0xC1A11720, 8)
dump(0xC1A31930, 8)