Re:Exploiting Misuse of Python's “Pickle”
by sametmax on Monday June 06, 2016 @04:56AM
(#11845431)
I use it save my shell session between reboots. Very useful, yet no security concern. There is always a niche for any tech.
[ Parent
| on HN ]
Interesting. How are you doing it? Do you do objects individually?
Yes. Basically I got a python startup file opening a store object at the begining of the session. If you set an attribute to the object, it's saved in the store, and if you read it, it loads it.
Cool. I'd love a way to completely persist a session to disk and reinstate it later, tho'. In other languages too http://stackoverflow.com/q/3966925/447514 - but only languages like Smalltalk or Forth with the concept of an "image" really do what I want.
OS level support for checkpointing is also a thing that exists: Eg https://criu.org/
I think we will come to that in the future, but the OS will handle that instead of the language.
Of course, one can argue you can already to it with docker :)
The future as in, say, 1979? https://en.wikipedia.org/wiki/System/38