Skip to content

Instantly share code, notes, and snippets.

@hotsphink
Created August 28, 2020 16:13
Show Gist options
  • Save hotsphink/a17133ac192352af5ee115a5504e1695 to your computer and use it in GitHub Desktop.
Save hotsphink/a17133ac192352af5ee115a5504e1695 to your computer and use it in GitHub Desktop.
mkgist-created gist
#!/usr/bin/python3
from base64 import b64encode
import os
import sys
s = sys.stdin.read()
print("python import base64")
print('python exec(base64.b64decode("{}"))'.format(b64encode(s.encode()).decode()))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment