Exploit database

GH-9d8bf7b89f407a0fff790750df76b5d3

lewis-ricardo/amaranth-project

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2025-8088

19 sources

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

Repository files21
lewis-ricardo/amaranth-projectRevision 0a4aa5d06cfd

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

Stage05/exploit/_analyze_rar.py

Python · 687 bytes
import subprocess, tempfile, os, shutil, sys
work = tempfile.mkdtemp()
testfile = os.path.join(work, 'test.txt')
open(testfile, 'w').write('hello')
rar_out = os.path.join(work, 'test.rar')
subprocess.run(f'"{sys.argv[1]}" a -ep "{rar_out}" "{testfile}"', shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, timeout=10)
data = open(rar_out, 'rb').read()
print(f'RAR size: {len(data)} bytes')
print('Hex dump (first 256 bytes):')
for i in range(0, min(256, len(data)), 16):
    hexstr = ' '.join(f'{b:02x}' for b in data[i:i+16])
    ascii_str = ''.join(chr(b) if 32 <= b < 127 else '.' for b in data[i:i+16])
    print(f'{i:04x}: {hexstr:<48s} {ascii_str}')
shutil.rmtree(work)