I'm creating an internal security course for developers. To make it more interesting, I'm trying to reinforce each chapter with some real-world attacks but stumbled upon insecure random usage section.
So, let's assume that out-of-the-box RNG (any popular backend language is okay) is used in an insecure manner (for example, for generating passwords functionality). Is there any step-by-step algorithm or automatic tool that can calculate RNG state and previous/future values?