- Category: Misc
- Score: 500/500
- Solves: 2
A Pyjail with direct code execution gives you too much freedom, so I made a Pyjail where you can only only get
and set
.
Get __builtins__
from __reduce_ex__(3)[0].__builtins__
, and you can call arbitrary functions using magic methods like __getattr__
or __getitem__
.
(cat payload.txt; cat) | nc get-and-set.chal.imaginaryctf.org 1337