Rating: 5.0

The page shows you the 130 character long flag, but shuffled between 1 and 1000 times (chosen via a URL parameter).

The source indicates the shuffles are all done with a fixed seed of `0x1337` passed to `srand` before the first shuffle is done.

I used the same seed to shuffle once a string of 130 unique bytes. I created a map of where each byte was shuffled to. I then used that map to unshuffle the flag shown on the shuffled once page.

Here is my solve script.

```php