LabsThe XSS Rat
All labs › Race Conditions

🏎 Race Conditions

Limits that hold perfectly one request at a time. Send them together instead of quickly, because the window is usually milliseconds wide.

1 labs and targetsfree accountlesson included
How business logic & timing actually works — taught by The XSS Rat

What it is

This is the class scanners cannot touch, because nothing is malformed. You are not breaking the code, you are breaking the assumptions behind it: that a discount is applied once, that a coupon is single use, that two requests never arrive at the same moment.

How I attack it

  1. Understand what the feature is worth in money or access before you poke it. That is what tells you where to push.
  2. Do things out of order, twice, or halfway. Go back a step after confirming. Replay an old step with new values.
  3. Watch rounding, currency, quantity and negative numbers wherever value is calculated.
  4. For race conditions, send the same request in parallel rather than quickly in sequence - the window is usually milliseconds wide.

Learn it from The XSS Rat

Free reference reading

The lab 1

ApplicationNew

RatBank Ops

Twenty API actions, fourteen of them enforce a limit, exactly one races. Timing alone will not tell you which.

Also here 2

Nothing matches thatClear the filter to see everything again.