I will solve flag casino challenge

let’s download the binary and run file against it.

now lets run it.

mmm it expects a character from us.
let’s disassemble to see the logic behind

let’s break the code step by step
we have a variable that loops 30 times!

our input here is taken and running srand()

there is something interesting there

notice that the rand() function is called after the srand() which makes the things more predictable
now let’s test the flag!
