Rating:

Original writeup (https://krypton.ninja/2022/03/28/Insomnihack-2022-CTF-write-up/#%F0%9F%8C%8A-Weak-Rivest-4-7-points).