Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import hashlib
- msg = 'yr6YCtcvW3QvzOAvWvc5XrupA1btFZb9jt=='
- try:
- for i in xrange(0, len(res)):
- token = hashlib.sha1(res[i+1]).digest()
- n = ord(res[i])
- n ^= 0xf2 ^ ord(token[0])
- n ^= 0xd1 ^ ord(token[1])
- n ^= 0x20 ^ ord(token[2])
- n ^= 0x3c ^ ord(token[3])
- n ^= 0xca ^ ord(token[4])
- n ^= 0x54 ^ ord(token[5])
- n ^= 0x11 ^ ord(token[6])
- n ^= 0xf0 ^ ord(token[7])
- n ^= 0xa3 ^ ord(token[6])
- n ^= 0xfe ^ ord(token[5])
- n ^= 0x21 ^ ord(token[4])
- n ^= 0x4c ^ ord(token[3])
- n ^= 0x27 ^ ord(token[2])
- n ^= 0xf3 ^ ord(token[1])
- n ^= 0xc2 ^ ord(token[0])
- c = n ^ 0xfe ^ 0xc3 ^ 0x42 ^ 0x21
- msg += chr(c)
- except:
- print msg[::-1]
Advertisement
Add Comment
Please, Sign In to add comment