|
|
|
|
|
by kstrauser
697 days ago
|
|
Heh! But for real, though. Then you have a repl with access to all the functions in the os module. You can glob files to iterate over /proc. You can send signals. You can open network connections. As far as emergency shells go, you could do far, far worse. Edit: also, all valid JSON is valid Python. Do not `eval(input_data)` in prod or I will haunt you. But, in an emergency… |
|
My example was just as a joke.
For real use, I would only use it with my own trusted input.