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 files149
lewis-ricardo/amaranth-projectRevision 0a4aa5d06cfd
- ↑..Parent directory
- Plan.md
- STAGE06_FINAL_REPORT.md
- baseline2.py
- baseline3.py
- baseline_capture.py
- baseline_test.py
- bl_final.py
- build_quasar.ps1
- build_quasar_client.bat
- build_vm.py
- build_vm2.py
- capture_and_parse.py
- check_owner.py
- check_session.py
- check_session2.py
- check_vm.py
- check_vm2.py
- check_vm3.py
- check_vm_tools.py
- clean_full_test.py
- debug_baseline.py
- debug_ps1.py
- debug_stager.cs
- debug_stager.exe
- debug_stager.py
- debug_stager_test.exe
- debug_test2.exe
- decrypt_strings.py
- deploy_sysmon.py
- deploy_test.py
- deploy_test2.py
- diag.cs
- diag_amsi.cs
- diag_amsi.exe
- diag_amsi_new.exe
- diag_ntdll.cs
- diag_ntdll.exe
- diag_ntdll2.cs
- diag_ntdll2.exe
- diag_vm.py
- diag_vm2.py
- download_log.py
- dump_syscall.py
- dumper.cs
- etw_check.py
- fetch_log.py
- fix_and_test.py
- fix_vm.py
- force_kill.py
- gen_xor.py
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
Stage06/ssh_pre_selfhollow.py
Python · 1,525 bytesimport paramiko, time
logf = r'D:\Desktop\网安程设\Amaranth_Project\Stage06\vm_pre_selfhollow.txt'
ssh = paramiko.SSHClient()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
try:
ssh.connect('192.168.30.136', username='lewis', password='lewis123', timeout=15, allow_agent=False, look_for_keys=False)
with open(logf, 'w', encoding='utf-8') as f:
cmds = [
'netstat -ano | findstr 4782',
'tasklist /v | findstr "5556"',
'tasklist /v | findstr "6328"',
'wmic process where "processid=\'5556\'" get commandline',
'wmic process where "processid=\'6328\'" get commandline',
'if exist C:\\Windows\\Temp\\mscorsvc.ps1 (type C:\\Windows\\Temp\\mscorsvc.ps1) else (echo PS1 NOT FOUND)',
'if exist C:\\Windows\\Temp\\dinvoke.exe (echo dinvoke EXISTS) else (echo dinvoke GONE)',
'echo %date% %time%',
]
for cmd in cmds:
f.write(f'>>> {cmd}\n')
stdin, stdout, stderr = ssh.exec_command(cmd, timeout=15)
out = stdout.read().decode('utf-8', errors='replace').strip()
err = stderr.read().decode('utf-8', errors='replace').strip()
if out: f.write(f'{out[:3000]}\n')
if err: f.write(f'ERR: {err[:200]}\n')
f.write('---\n')
time.sleep(0.5)
ssh.close()
print('DONE')
except Exception as e:
with open(logf, 'a', encoding='utf-8') as f:
f.write(f'Error: {e}\n')
print(f'Error: {e}')