Tags: reverse 

Rating:

<span>we dont care about 0x0804858d algs. we just know it uses srand+rand to set a one byte base case.

so we can use gdb to create and dump 0x100 table :)
and then try all the cases to obtain flag</span>

Original writeup (http://hamidx9.ir/solutions/2016/tw_mma_ctf/reverse_box/sol.py).