Skip to content

Instantly share code, notes, and snippets.

@CreateRemoteThread
Created December 30, 2017 09:44
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 CreateRemoteThread/4c5f7068a41c38df082cdcbcc32ffc54 to your computer and use it in GitHub Desktop.
Save CreateRemoteThread/4c5f7068a41c38df082cdcbcc32ffc54 to your computer and use it in GitHub Desktop.
#!/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