06 - random

The Challenge

Daddy, teach me how to use random value in programming!

ssh random@pwnable.kr -p2222 (pw:guest)

The Solution

Whats off here? This is not how you use rand()! This is how you use rand.

As a result of that, the same number will be generated over and over again. Here it is:

After XORing with 0xdeadbeef and translating to a number:

Last updated