Payment Page - Random Attack Example

Enter payment information

 

Cart

  Digital Camera$328.00


  Red headphones$214.99


  USB Game Controller$43.89


  Pumpkin Spice Candle$21.15



Subtotal $608.03

Shipping FREE!

Estimated Tax $54.72


Total $662.75

 

Hacker Demo Dashboard Random Number

Key points:

In this demonstration, the random number is set between 0 and 3, providing a 1 in 4 chance of seeing the cardholder data stolen. In the real world attack, the random number was selected between 0 and 33, indicating that only 1 out of every 34 transactions would be compromised.

Here is the code from the real world script: