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 files42
lewis-ricardo/amaranth-projectRevision 0a4aa5d06cfd

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

loader/test_vm3.py

Python · 1,169 bytes
"""Run loader on VM and capture output to file"""
import paramiko, time, sys

sys.stdout = open(1, 'w', encoding='utf-8', errors='replace')

ssh = paramiko.SSHClient()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
ssh.connect('192.168.30.136', username='lewis', password='lewis123')

# Write a batch file to run loader and capture output
batch = [
    '@echo off',
    'cd /d C:\\Users\\lewis\\Desktop',
    'echo Running loader...',
    'loader.exe > output.txt 2>&1',
    'echo Exit code: %ERRORLEVEL% >> output.txt',
    'echo Done.'
]
batch_content = '\r\n'.join(batch)
batch_bytes = batch_content.encode('gbk')

# Upload the batch file via sftp
sftp = ssh.open_sftp()
with sftp.open('C:\\Users\\lewis\\Desktop\\run_loader.bat', 'wb') as f:
    f.write(batch_bytes)
sftp.close()

# Run the batch file
stdin, stdout, stderr = ssh.exec_command('C:\\Users\\lewis\\Desktop\\run_loader.bat', timeout=30)
time.sleep(10)
stdout.read()  # consume output

# Read the results
stdin, stdout, stderr = ssh.exec_command('type C:\\Users\\lewis\\Desktop\\output.txt')
out = stdout.read().decode('gbk', errors='replace')
print("=== Output ===")
print(out)

ssh.close()