Skip to content

Instantly share code, notes, and snippets.

@0xToxin
Created September 25, 2023 10:47
Show Gist options
  • Save 0xToxin/01a35dfc5edcd9d6885f6185ca9b4c4e to your computer and use it in GitHub Desktop.
Save 0xToxin/01a35dfc5edcd9d6885f6185ca9b4c4e to your computer and use it in GitHub Desktop.
Xworm Traffic Decryption
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