Exploit database

GH-14fb583d3d1bd2da10251bb1a37b93d6

gitchw/ghostlock-cve-2026-43499

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-43499

166 sources

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

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

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

workspace/offload/_diag_e2e.py

Python · 1,562 bytes
#!/usr/bin/env python3
import time, subprocess, socket, sys
sys.path.insert(0,'/mnt/d/project/ow/qemu')
from serial_drive import Console
VML='/mnt/d/project/ow/qemu/vmlinux.clang'
try:
    s=socket.create_connection(('127.0.0.1',5581),timeout=5); time.sleep(0.3); s.recv(4096)
    s.sendall(b'cont\n'); time.sleep(0.5); s.recv(65536); s.close()
except Exception as e: print('mon warn',e)

g=subprocess.Popen(['gdb-multiarch','-q','--init-eval-command=set pagination off',
    '--init-eval-command=set confirm off', VML],
    stdin=subprocess.PIPE, stdout=open('/tmp/gdb_resp.txt','w'), stderr=subprocess.STDOUT)
def send(c,w=1.5): g.stdin.write((c+'\n').encode()); g.stdin.flush(); time.sleep(w)
send('target remote :5582',2.5)
send('source /mnt/d/project/ow/qemu/inject27_gl.py',2.5)
send('continue',1.0)

# serial: run go27
c=Console(port=5580); time.sleep(1); c.send(''); c.read_some(2)
c.run('pkill -9 go27; rm -f /tmp/g27.log; cd /root/exp && (./go27 adj >/tmp/g27.log 2>&1 &); echo BG_OK', timeout=10)
# wait for gl log activity
gl=open('/tmp/gdb_inject27_gl.log').read()
for i in range(45):
    time.sleep(1)
    gl=open('/tmp/gdb_inject27_gl.log').read()
    if 'detached' in gl: break
print('=== gl log so far ===')
print(gl[-2500:])
# read guest log
rc,out=c.run('cat /tmp/g27.log 2>/dev/null; echo ALIVE_$(uname -r)', timeout=10)
print('=== guest ===')
print(out[-1500:])
# try to stop gdb gracefully
g.stdin.write(b'\x03'); g.stdin.flush(); time.sleep(1.0)
g.terminate()
print('=== gdb resp tail ===')
print(open('/tmp/gdb_resp.txt').read()[-2000:])