Rating:

TL;DR: Use Grobner basis to recover the internal state of the LCG. Solve for the roots of the polynomial f(x) = "encrypted flag"

Original writeup (https://mystiz.hk/posts/2021/2021-11-07-bsides-ahmedabad/#ssssrng).