Rating:

Original writeup (https://github.com/qsctr/ctf/tree/master/redpwnCTF-2021/the-substitution-game).