guess the high or low!
Beginner Hint 1 (AI-translated)
server.pyimplements a custom RNG calledRNG.- This RNG is a simplified version of Mersenne Twister, making it easier to predict.
- The goal of this challenge is to predict this custom RNG and increase
moneyuntil the flag is printed.
Beginner Hint 2 (AI-translated)
- To predict the RNG, you need to reproduce the server's
RNGstate on your own machine. - The
RNGstate consists ofstateandp. pis easy to predict because it is only incremented each timenext_valueis called.- So what about
state? - Focus on the fact that
xcan be recovered fromy.