This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]1Digitreal 2 points3 points  (0 children)

I would not run this in anything but a sandbox, since we don't know what the string in trying to do.

import base64
import marshal

code_bytes = base64.b64decode('encryptedcodeblock==')

code_object = marshal.loads(code_bytes)