Exploit database

GH-14fb583d3d1bd2da10251bb1a37b93d6

gitchw/ghostlock-cve-2026-43499

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-43499

170 sources

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

Repository files258
gitchw/ghostlock-cve-2026-43499Revision 96acd93156f6
Next files →

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

workspace/ota/disasm_enqueue.py

Python · 842 bytes
#!/usr/bin/env python3
import bisect
from capstone import *
BASE=0xc0008000
oppo=open('/mnt/d/project/ow/ota/kernel_raw.bin','rb').read()
d={}
for line in open('/mnt/d/project/ow/ota/kallsyms_finder.log'):
    p=line.split()
    if len(p)>=3:
        try: d[p[2]]=(int(p[0],16),p[1])
        except: pass
md=Cs(CS_ARCH_ARM,CS_MODE_ARM)
ks=sorted(a for a,_ in d.values())
def dump(name, maxins=120):
    va=d[name][0]
    i=bisect.bisect_right(ks,va)-1
    a1=ks[i+1]
    print('==== %s @%#x size~%d ===='%(name,va,a1-va))
    for n,x in enumerate(md.disasm(oppo[va-BASE:a1-BASE],va)):
        if n>=maxins: break
        print('%#x: %-9s %s'%(x.address,x.mnemonic,x.op_str))
dump('rt_mutex_enqueue')
# rb helpers
for n in ['rb_insert_color_cached','rb_insert_color','__rb_insert','rb_link_node','rb_erase_cached']:
    if n in d: dump(n, 80)