HTTP Race Condition Examples
Review some race conditions examples with Nuclei
Race condition testing with single POST request.
This template makes a defined POST request in RAW format to /coupons
endpoint, as the race_count
is defined as 10
, this will make 10 requests at same time by holding last bytes for all the requests which sent together for all requests synchronizing the send event.
You can also define the matcher as any other template for the expected output which helps to identify if the race condition exploit worked or not.
Race condition testing with multiple requests.
This template makes the defined and multiple POST requests in RAW format with threads
sets to 5
, threads
can be utilized in race condition templates when multiple requests needs to be sent to exploit the race condition, threads
number should be same as the number of you are making with template and not needed if you’re only making single request.
Was this page helpful?