Exploit databaseDownload repository ZIP
GH-5fd8ef322ef5cc51c148ecb7362c28e5
rebilibin/ghostlock-oppo-watch3pro
Sources for CVE-2026-43499
165 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files57
rebilibin/ghostlock-oppo-watch3proRevision 3f63fa67f79d
- _rev/
- ghostlock_repo/
- .gitignore
- LICENSE
- README.md
- _writable_symbols.txt
- allfunc_scan.py
- argcopy_scan.py
- armdis.py
- armdis2.py
- ashmem_depth.py
- bl_targets.py
- chain_depth.py
- chainwalk_dis.txt
- corrected_scan.py
- decode_kallsyms.py
- deep_copy_scan.py
- deep_copy_scan2.py
- deep_copy_scan3.py
- dis2.py
- dis3.py
- dis_rtmutex.py
- disasm_kernel.py
- enqueue_dis.txt
- extract_kallsyms.py
- extract_kallsyms2.py
- fetch_all_source.py
- fetch_ghostlock.py
- fetch_source.py
- fetch_source2.py
- final_scan.py
- find_copy2.py
- find_copy_syscalls.py
- find_kernel_addr.sh
- find_waiter.py
- ghostlock_deepcopy_report_v2.md
- ghostlock_depth.py
- ghostlock_depth_report.md
- ghostlock_oppo_report.md
- ghostlock_write_target_00522_report.md
- heota_query.py
- iou_analysis.py
- kernel_config.txt
- kernel_config_out.txt
- kgsl_symbols.txt
- more_depth.py
- rbtree_dis.txt
- rtmutex_adj_dis.txt
- rtmutex_adj_dis2.txt
- scan_deep_copies.py
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
bl_targets.py
Python · 813 bytesimport struct, re
data = open(r'kernel_decompressed.bin', 'rb').read()
BASE = 0xC0008000
syms = {}
for line in open(r'symbols.txt', encoding='utf-8', errors='replace'):
m = re.match(r'^([0-9a-fA-F]{8})\s+(\S)\s+(\S+)', line)
if m:
syms[int(m.group(1), 16)] = m.group(3)
def rd32(a):
off = a - BASE
return struct.unpack('<I', data[off:off+4])[0]
def target(a, w):
imm24 = w & 0xFFFFFF
if imm24 & 0x800000:
imm24 -= 0x1000000
return (a + 8 + (imm24 << 2)) & 0xFFFFFFFF
import sys
lo = int(sys.argv[1], 16)
hi = int(sys.argv[2], 16)
for a in range(lo, hi, 4):
w = rd32(a)
if (w & 0x0E000000) == 0x0A000000:
t = target(a, w)
s = syms.get(t, '')
kind = 'BL' if w & 0x1000000 else 'B '
print('%08x: %s 0x%08x %s' % (a, kind, t, s))