
🛡️ Safe simulation for CVE-2025-24035 to test RD Gateway WebSocket handling with oversized headers.
🚨 DISCLAIMER: This is NOT an exploit. This script is a simulation and should only be used for educational purposes in a safe lab environment.
This test sends a deliberately oversized WebSocket header to simulate a malformed request toward RD Gateway services (such as those affected by CVE-2025-24035).
⚠️ Do not use this against systems without explicit authorization. Unauthorized use may be illegal.
python3 test_abnormal_rds_websocket.py
Edit the IP address in the script according to your local lab setup.