Python Jails Escape
If we faced the Python script as follow, we cannot use common modules used for escalating privileges ("os", "system", etc.). It appeared in Newbie CTF 2019.
We need to modify module names to allow us to execute them. This post explains in details.
If the "eval" or "exec" modules are accepted, we can input arbitrary code.
References
Last updated