Created
October 19, 2019 12:24
-
-
Save zuypt/ca649b6f6159d972edc96f0953ccd350 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
A = [0x8e,0x63,0xcd,0x12,0x4b,0x58,0x15,0x17,0x51,0x22,0xd9,0x4,0x51,0x2c,0x19,0x15,0x86,0x2c,0xd1,0x4c,0x84,0x2e,0x20,0x6] | |
def a(b): | |
return chr(b-0x1e) | |
def b(b): | |
return chr( (b^7) + 8) | |
def c(b): | |
b += 0x4 | |
b ^= 0x44 | |
b -= 0x2c | |
return chr(b) | |
def d(b): | |
b ^= 4 | |
b ^= 0x65 | |
return chr(b) | |
F = [a, b, c, d] | |
t = '' | |
for i in xrange(len(A)): | |
t += F[i%4](A[i]) | |
print (t) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment