Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
sha256: a6ff8dfe654da70390cd71626cdca8a6f6a0d7980cd7d82269373737b04fd206
input_ = input("WMIGhost sample: ")
with open(input_, 'rb+') as file:
data = file.read()[0x3028: 0x3028 + 0x137A]
with open(input_ + "_func.txt", "w") as outfile:
for i, n in enumerate(data):
outfile.write(chr(data[i] ^ 0x63 ^ 0xe9))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.