hackXpert labs
All labs › Business Logic

🧩 Business Logic

Every request is valid. The order, the timing or the arithmetic is what breaks. No scanner finds these, which is exactly why they pay.

7 labs and targetsfree, no 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

Applications 7

ApplicationNew

RatStream Billing

Upgrades round down in your favour, downgrades round up in your favour. Turn 20 EUR of promo credit into a 120 EUR gift card.

Application

Webshop

Cart, checkout and the gap between them.

Application

RatterSite

Social site where the rules are enforced in the wrong place.

Application

Build A Park

A builder sim with a budget you are meant to respect.

Application

RatMarket

Marketplace pricing and quantity handling.

Application

Cheese Rewards

A loyalty scheme that can be made to pay you twice.

Also here 1

Nothing matches thatClear the filter to see everything again.