decalage2 / oletools

oletools - python tools to analyze MS OLE2 files (Structured Storage, Compound File Binary Format) and MS Office documents, for malware analysis, forensics and debugging.
http://www.decalage.info/python/oletools
Other
2.81k stars 560 forks source link

Fix unittests #859

Closed christian-intra2net closed 1 month ago

christian-intra2net commented 1 month ago

Introduced an error when silencing pylint warnings. This should fix it. No idea why this did not turn up in my unittests.

christian-intra2net commented 1 month ago

Found some discrepancies in unittest results between what @kijeong found for PR #723 and what I find. I suspect that system encoding plays a role here. Ignore the one sample for now, which shows this discrepancy (olevba/sample_with_vba.ppt)