kmh's blog

Tag: DiceCTF


TI-1337 Plus CE: Abusing CPython internals

Feb. 7, 2021

I wrote a pyjail for DiceCTF this weekend that I was pretty proud of. 7 teams (out of over 1,000) solved it, all using unintended but very cool solutions. I’ll go over my approach, and briefly describe the others when relevant.

Initial analysis

Texas Instruments just released the latest iteration of their best-selling TI-1337 series: the TI-1337 Plus Color Edition!

nc dicec.tf 31337

ti1337plusce.tar.gz

A custom version of CPython is compiled with some randomized secrets passed to the C preprocessor after applying a patch.

Continue Reading ยป