Created
August 28, 2020 16:13
-
-
Save hotsphink/a17133ac192352af5ee115a5504e1695 to your computer and use it in GitHub Desktop.
mkgist-created gist
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
#!/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