TI 1337 Plus CE (DiceCTF 2021 challenge)
TI 1337 Plus CE Originally published in justCatTheFish repo. Writeup written by Arusekk. Solved by Arusekk, haqpl and Disconnect3d. We included the task files in ./taskfiles/. In the task, you have to take control over a patched (sandboxed) CPython. The patch checks the opcodes against a blacklist, and if any matches, it goes exit(1). It also forbids using variables beginning with _. The checks are perfored only if current environment is missing a secret COMPILE_SECRET and the current frame’s code object has co_filename set to anything other than a predefined string (FROZEN_SECRET). ...