Last active
August 2, 2017 06:09
-
-
Save secrary/c4fd3273a24da449795cc47f2e4378ef to your computer and use it in GitHub Desktop.
sha256: a6ff8dfe654da70390cd71626cdca8a6f6a0d7980cd7d82269373737b04fd206
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
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