Exploit database

GH-5fd8ef322ef5cc51c148ecb7362c28e5

rebilibin/ghostlock-oppo-watch3pro

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-43499

164 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files57
rebilibin/ghostlock-oppo-watch3proRevision 3f63fa67f79d
Next files →

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

fetch_source2.py

Python · 3,389 bytes
import 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')