Created
August 19, 2016 01:27
-
-
Save kmdnet/9517a435f429197dddec0a3a2ad36cdd 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 | |
x = "MDgxOTE2MjMwZTMxMDIzMTNhNjk2YjA3NjgzNjM0MjE2YTJjMzA2ODJiNmIwNzBmMzA2ODA3MTMz\nNjY4MmYwNzJmMzA2YjJhNmI2YTM0Njg2ODMzMjU=" | |
work = [] | |
flag = "" | |
base = base64.b64decode(x) | |
for i in range(0,len(base),2): | |
work.append(base[i:i+2]) | |
for y in work: | |
flag += chr(int(y,16) ^ 0x58) | |
print flag |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment