We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Affected tool: oleid
Describe the bug & How To Reproduce the bug
A direct check_excel() call causes a TypeError exception.
check_excel()
TypeError
import oletools.oleid from olefile import OleFileIO with open("macro.xls", "rb") as f: data = f.read() ole_file = OleFileIO(data) oid = oletools.oleid.OleID(ole_file) oid.check_excel()
This script produces the following exception because of the wrong List append() usage. (https://github.com/decalage2/oletools/blob/master/oletools/oleid.py#L345-L346)
append()
Traceback (most recent call last): File "test.py", line 10, in <module> oid.check_excel() File "/Users/foo/bar/oletools/oletools/oleid.py", line 345, in check_excel self.indicators.append('vba_macros', True, TypeError: append() takes no keyword arguments
File/Malware sample to reproduce the bug
Any excel file with macro can reproduce this bug.
Version information:
The text was updated successfully, but these errors were encountered:
Fix an issue in OleID check_excel()
db73e64
Fix decalage2#584
oleid: fixed bug in check_excel (issue #584, PR #585)
a1f5b28
b6651f9
0a8817a
oleid: fixed bug in check_excel (issue decalage2#584, PR decalage2#585)
7c5a0c0
c8c9c15
8556ebd
decalage2
Successfully merging a pull request may close this issue.
Affected tool:
oleid
Describe the bug & How To Reproduce the bug
A direct
check_excel()
call causes aTypeError
exception.This script produces the following exception because of the wrong List
append()
usage. (https://github.com/decalage2/oletools/blob/master/oletools/oleid.py#L345-L346)File/Malware sample to reproduce the bug
Any excel file with macro can reproduce this bug.
Version information:
The text was updated successfully, but these errors were encountered: