Exploit databaseDownload repository ZIP
GH-9d8bf7b89f407a0fff790750df76b5d3
lewis-ricardo/amaranth-project
Sources for CVE-2025-8088
19 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files22
lewis-ricardo/amaranth-projectRevision 0a4aa5d06cfd
- ↑..Parent directory
- FinalChain_Embedded.ps1
- WindowsUpdate.lnk
- analyze_rar.py
- base_v2.rar
- build_attack_rar.py
- build_attack_rar_v2.py
- build_on_vm.bat
- build_on_vm.ps1
- build_on_vm_v2.bat
- check_rar.py
- debug_rar.py
- exploit.rar
- exploit.zip
- exploit_v2.rar
- exploit_v3.rar
- find_paths.py
- gen_lnk.py
- lure.pdf
- test_ads.rar
- verify_final.py
- verify_rar.py
- vm_build_exploit_v2.py
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
Stage03_FinalChain/exploit/find_paths.py
Python · 1,010 bytesimport 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}")