Created
September 25, 2023 10:47
-
-
Save 0xToxin/01a35dfc5edcd9d6885f6185ca9b4c4e to your computer and use it in GitHub Desktop.
Xworm Traffic Decryption
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
from hashlib import md5 | |
from malduck import aes | |
keyString = input("[!] Enter key: ") | |
md5Key = md5(keyString.encode()).hexdigest() | |
print(f'[*] The key for the encryption will be {md5Key}') | |
encryptedString = input("[!] Enter hexvalue encrypted data: ") | |
decryptedData = aes.ecb.decrypt(bytes.fromhex(md5Key), bytes.fromhex(encryptedString)) | |
print(f'[v] Decrypted Data:\n{decryptedData}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment