Created
June 20, 2020 15:10
-
-
Save Jonoans/b9d54dc1a175bf8254362f0ec08be5aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import base64 | |
import pickle | |
encoded = 'KGRwMApWbmFtZQpwMQpWSmlsbApwMgpzLg==' | |
pickled = base64.b64decode(encoded) | |
payload = pickle.loads(pickled) | |
print(type(payload), payload) | |
# Outputs: <class 'dict'> {'name': 'Jill'} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment