Skip to content

Instantly share code, notes, and snippets.

@jjgod
Created February 12, 2009 13:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jjgod/62615 to your computer and use it in GitHub Desktop.
Save jjgod/62615 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
import sys, urllib
url = urllib.unquote(sys.argv[1])
def plus13(c):
i = ord(c)
if i >= ord('a') and i <= ord('z'):
i += 13
if i > ord('z'):
i -= 26
return chr(i)
str = ""
for c in url:
str += plus13(c)
print str
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment