Created
December 30, 2017 09:44
-
-
Save CreateRemoteThread/4c5f7068a41c38df082cdcbcc32ffc54 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
#!/usr/bin/python -w | |
f = open("1.bin","rb") | |
data = f.read() | |
f.close() | |
out = "" | |
for i in range(0,23): | |
ref_char = data[(i * 17) + 4] | |
target_char = data[(i * 17) + 5] | |
xor_key = ord(ref_char) ^ 0x3C | |
tgt_chr = ord(target_char) ^ xor_key | |
out += chr(tgt_chr) | |
print out | |
# 34C3_M1GHTY_M0RPh1nG_g0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment