Skip to content
New issue

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

Error in Yara Checker: 'yara.StringMatch' object is not subscriptable #23

Closed
ashley-920 opened this issue Oct 17, 2023 · 2 comments
Closed

Comments

@ashley-920
Copy link

Using yara-python-4.3.1 on IDA 8.3
Yara Checker raise 'yara.StringMatch' object is not subscriptable error.
This is probably because yara-python reports matches has changed between versions 4.2.3 and version 4.3.0.
In version 4.2.3 matches the yara.Match object contained an attribute strings which was a list of Tuples. In version 4.3.0 (and presumably any future version) the match object contains an attribute strings which is a list of yara.StringMatchInstance values.

Similar issue: volatilityfoundation/volatility3#932

@hyuunnn
Copy link
Owner

hyuunnn commented Oct 17, 2023

Thanks! I have midterms coming up next week.
I'll check it out after the exam.

@hyuunnn
Copy link
Owner

hyuunnn commented Nov 3, 2023

292023d
@ashley-920 Fixed :)

@hyuunnn hyuunnn closed this as completed Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants