DissectMalware / XLMMacroDeobfuscator

Extract and Deobfuscate XLM macros (a.k.a Excel 4.0 Macros)
Apache License 2.0
568 stars 115 forks source link

Object of type 'Tree' is not JSON serializable #56

Closed 0ssigeno closed 3 years ago

0ssigeno commented 3 years ago

Hi, when executing xlmdeobfuscator --file comunicatoX_XXX.xls --password agenzia --export-json result.json the emulator prints:

Encrypted xls file
[Loading Cells]
auto_open: auto_open->H!$AG$29291
[Starting Deobfuscation]
[END of Deobfuscation]
[Dumping Json]
Error: unable to dump the result into the specified file
Object of type 'Tree' is not JSON serializable
[End of Dumping]

Any info? Md5 sample: a09ce707bb8f0f6f687b2881ce8a3fc1 VT scan: https://www.virustotal.com/gui/file/a6eb350d57e07a6812c59bdf3d8df7c94b299256f14fffec31e16e3dda901f14/detection

DissectMalware commented 3 years ago

Fixed the bug. Update from the master.

image

result.zip

0ssigeno commented 3 years ago

Thank you! That was fast!