-
-
Save bernardopadua/3ee2e03a464f64820264124e27f5feae 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
b = "2d2f3e4a45090b041e450d0f1e4513051f45051f1e45050c45071345020f0b0e44021e07064a223e3e3a455b445b361836042205191e504a090b1c0b05181e0b440905074408183618360460" | |
s = 0 | |
ns = "" | |
for c in b: | |
if s == 2: | |
ns += "." | |
ns += c | |
s = 1 | |
else: | |
ns += c | |
s = s + 1 | |
b = ns.split('.') | |
ns = "" | |
for i in range(0xFF): #0x4a 0x6a | |
for c in b: | |
ns += chr(int(c, 16)^i) | |
print(hex(i) + " ==> " + ns.replace('\n', '').replace('\r', '')) | |
ns = "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment