Created
July 25, 2012 02:03
-
-
Save naydichev/3173931 to your computer and use it in GitHub Desktop.
GoDaddy Fail
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/python | |
import base64 | |
gd = base64.b64decode("V2UgQXJ1" | |
"IEdvIERhZGR5LgpXZWxjb211IFRv" | |
"IEEEgTmV3IEVyYS4KaHR0cDovL3gu" | |
"Y28vZ2Rvc2Nvbg==") | |
exec 'import __\x68e\x6c\x6co__' | |
print gd | |
# What you get: | |
# Hello world... | |
# We Aru Go Daddy. | |
# Welcomu To A?9?܁Ʉ?)????輽ํ?????͍?? | |
s = "We Are GoDaddy.\nWelcome To A New Era.\nhttp://x.co/gdoscon" | |
print base64.b64encode(s) | |
# What the base64 should be: | |
# V2UgQXJlIEdvRGFkZHkuCldlbGNvbWUgVG8gQSBOZXcgRXJhLgpodHRwOi8veC5jby9nZG9zY29u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment