Last active
October 21, 2020 13:41
-
-
Save ptmcg/20d1076e24b259aa8418f7088f670fd8 to your computer and use it in GitHub Desktop.
A familiar song
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 time, sys, base64 | |
for i, v in enumerate((getattr, time, sys, "sleep", | |
"decode", "bytes", "stdout", | |
"write", "flush", 1.0, 6, | |
base64, "upper", 1000.0, "'", | |
print, 0), start=3): | |
vars()['_'*i] = v | |
_ = ( | |
b'RGFpc3kgRGFpc3kgZ2l2ZSBtZSB5b3VyIGFuc3dlciBk' | |
b'bwpJJ20gaGFsZiBjcmF6eSBhbGwgZm9y\nIHRoZSBsb3' | |
b'ZlIG9mIHlvdQpJdCB3b24ndCBiZSBhIHN0eWxpc2ggbWF' | |
b'ycmlhZ2UKSSBjYW4ndCBh\nZmZvcmQgYSBjYXJyaWFnZQ' | |
b'pCdXQgeW91J2xsIGxvb2sgc3dlZXQgdXBvbiB0aGUgc2V' | |
b'hdApPZiBh\nIGJpY3ljbGUgYnVpbHQgZm9yIHR3bw==' | |
) | |
OOo,OoO,ooO,Ooo,oOo,OOO,ooo,oo = ___( | |
____,______),____________/_____________,___(___( | |
______________,_______+________)(_),_______)( | |
),___________________,_________________,( | |
____________ + _____________/________________ | |
),__________________,__________________ | |
O = lambda _: ___(___(_____,_________),__________)( | |
___(_,_______________)()) and ___(___(_____, | |
_________),___________)() | |
for o in ooO: | |
O(o) or OOo((OoO, Ooo)[o==oOo]) | |
OoO *= OOO | |
oo() or ooo() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment