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 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.
fetch_source2.py
Python · 3,389 bytesimport urllib.request, urllib.error, ssl, sys, os, socket
ctx = ssl.create_default_context()
ctx.check_hostname = False
ctx.verify_mode = ssl.CERT_NONE
USER_AGENT = 'Mozilla/5.0'
# Set timeout for socket operations
socket.setdefaulttimeout(15)
files_to_fetch = [
# Repo 1
('https://raw.githubusercontent.com/yijiacloud/ghostlock-cve-2026-43499-4.19-k40/main/src/main.c', 'repo1_main.c'),
('https://raw.githubusercontent.com/yijiacloud/ghostlock-cve-2026-43499-4.19-k40/main/src/fops.c', 'repo1_fops.c'),
('https://raw.githubusercontent.com/yijiacloud/ghostlock-cve-2026-43499-4.19-k40/main/src/pipe.c', 'repo1_pipe.c'),
('https://raw.githubusercontent.com/yijiacloud/ghostlock-cve-2026-43499-4.19-k40/main/src/root.c', 'repo1_root.c'),
('https://raw.githubusercontent.com/yijiacloud/ghostlock-cve-2026-43499-4.19-k40/main/src/slide.c', 'repo1_slide.c'),
('https://raw.githubusercontent.com/yijiacloud/ghostlock-cve-2026-43499-4.19-k40/main/src/util.c', 'repo1_util.c'),
('https://raw.githubusercontent.com/yijiacloud/ghostlock-cve-2026-43499-4.19-k40/main/src/common.h', 'repo1_common.h'),
('https://raw.githubusercontent.com/yijiacloud/ghostlock-cve-2026-43499-4.19-k40/main/src/offset.h', 'repo1_offset.h'),
('https://raw.githubusercontent.com/yijiacloud/ghostlock-cve-2026-43499-4.19-k40/main/src/su_daemon.c', 'repo1_su_daemon.c'),
# Repo 2
('https://raw.githubusercontent.com/fancyzll/CVE-2026-43499_OPPO-MT6835/main/exploit/src/main.c', 'repo2_main.c'),
('https://raw.githubusercontent.com/fancyzll/CVE-2026-43499_OPPO-MT6835/main/exploit/src/fops.c', 'repo2_fops.c'),
('https://raw.githubusercontent.com/fancyzll/CVE-2026-43499_OPPO-MT6835/main/exploit/src/pipe.c', 'repo2_pipe.c'),
('https://raw.githubusercontent.com/fancyzll/CVE-2026-43499_OPPO-MT6835/main/exploit/src/root.c', 'repo2_root.c'),
('https://raw.githubusercontent.com/fancyzll/CVE-2026-43499_OPPO-MT6835/main/exploit/src/slide.c', 'repo2_slide.c'),
('https://raw.githubusercontent.com/fancyzll/CVE-2026-43499_OPPO-MT6835/main/exploit/src/util.c', 'repo2_util.c'),
('https://raw.githubusercontent.com/fancyzll/CVE-2026-43499_OPPO-MT6835/main/exploit/src/common.h', 'repo2_common.h'),
('https://raw.githubusercontent.com/fancyzll/CVE-2026-43499_OPPO-MT6835/main/exploit/src/offset.h', 'repo2_offset.h'),
('https://raw.githubusercontent.com/fancyzll/CVE-2026-43499_OPPO-MT6835/main/exploit/src/su_daemon.c', 'repo2_su_daemon.c'),
('https://raw.githubusercontent.com/fancyzll/CVE-2026-43499_OPPO-MT6835/main/poc/poc.c', 'repo2_poc.c'),
]
output_dir = 'G:\\k70bootloader\\Rootme-main\\fetched_source'
os.makedirs(output_dir, exist_ok=True)
for url, filename in files_to_fetch:
filepath = os.path.join(output_dir, filename)
print('=== ' + url + ' ===')
try:
req = urllib.request.Request(url, headers={'User-Agent': USER_AGENT})
resp = urllib.request.urlopen(req, context=ctx, timeout=15)
content = resp.read().decode('utf-8', errors='replace')
with open(filepath, 'w', encoding='utf-8') as f:
f.write(content)
print(' OK: ' + filename + ' (' + str(len(content)) + ' bytes)')
except urllib.error.HTTPError as e:
print(' HTTP ERROR: ' + str(e.code) + ' ' + e.reason)
except Exception as e:
print(' ERROR: ' + str(e))
print()
print('DONE')