You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/usr/bin/volatility", line 192, in
main()
File "/usr/bin/volatility", line 183, in main
command.execute()
File "/usr/lib/python2.7/dist-packages/volatility/commands.py", line 147, in execute
func(outfd, data)
File "/usr/lib/python2.7/dist-packages/volatility/commands.py", line 282, in render_text
config = self._config), data)
File "/usr/lib/python2.7/dist-packages/volatility/commands.py", line 276, in _render
renderer.render(outfd, output)
File "/usr/lib/python2.7/dist-packages/volatility/renderers/text.py", line 115, in render
grid_depth = grid.visit(None, lambda x, y: max(y, grid.path_depth(x)), 0)
File "/usr/lib/python2.7/dist-packages/volatility/renderers/init.py", line 248, in visit
self.populate()
File "/usr/lib/python2.7/dist-packages/volatility/renderers/init.py", line 149, in populate
for (level, item) in self._generator:
File "/usr/lib/python2.7/dist-packages/volatility/plugins/sqlitefind.py", line 227, in generator
for name, needle_size, col_type_str in data:
File "/usr/lib/python2.7/dist-packages/volatility/plugins/sqlitefind.py", line 201, in calculate
for address, row_id, types, values in searcher.find_records(address_space):
File "/usr/lib/python2.7/dist-packages/volatility/plugins/sqlitetools.py", line 600, in find_records
for buf, offset, absolute_offset in _search_addr_space(address_space, self.needle.yara_rule):
File "/usr/lib/python2.7/dist-packages/volatility/plugins/sqlitetools.py", line 727, in _search_addr_space
for str_pos, str_name, str_value in matched_rules[0].strings:
KeyError: 0
The text was updated successfully, but these errors were encountered:
I don't have the software running currently, so I can only help so much. If you are able to do some debugging I can point you in the right direction.
The "KeyError: 0" leads me to believe that matched_rules is a dictionary but it should be a list. You can start by printing out matched_rules to see what that data is and why. That variable comes from a yara match method which I don't think has changed what it returns looking at the documentation.
I think Mr.littleheary would have already solved the issue, but in case of anyone who are stuck withe the same issue, the reason of the problem was the version of the yara-python module as the owner said.
I didn't dig more to find the exact reason of the problem, but when i re-installed my yara-python module in 3.7.0 version, the issue was solved. (Current Version of Yara-python is 4.3.1)
Traceback (most recent call last):
File "/usr/bin/volatility", line 192, in
main()
File "/usr/bin/volatility", line 183, in main
command.execute()
File "/usr/lib/python2.7/dist-packages/volatility/commands.py", line 147, in execute
func(outfd, data)
File "/usr/lib/python2.7/dist-packages/volatility/commands.py", line 282, in render_text
config = self._config), data)
File "/usr/lib/python2.7/dist-packages/volatility/commands.py", line 276, in _render
renderer.render(outfd, output)
File "/usr/lib/python2.7/dist-packages/volatility/renderers/text.py", line 115, in render
grid_depth = grid.visit(None, lambda x, y: max(y, grid.path_depth(x)), 0)
File "/usr/lib/python2.7/dist-packages/volatility/renderers/init.py", line 248, in visit
self.populate()
File "/usr/lib/python2.7/dist-packages/volatility/renderers/init.py", line 149, in populate
for (level, item) in self._generator:
File "/usr/lib/python2.7/dist-packages/volatility/plugins/sqlitefind.py", line 227, in generator
for name, needle_size, col_type_str in data:
File "/usr/lib/python2.7/dist-packages/volatility/plugins/sqlitefind.py", line 201, in calculate
for address, row_id, types, values in searcher.find_records(address_space):
File "/usr/lib/python2.7/dist-packages/volatility/plugins/sqlitetools.py", line 600, in find_records
for buf, offset, absolute_offset in _search_addr_space(address_space, self.needle.yara_rule):
File "/usr/lib/python2.7/dist-packages/volatility/plugins/sqlitetools.py", line 727, in _search_addr_space
for str_pos, str_name, str_value in matched_rules[0].strings:
KeyError: 0
The text was updated successfully, but these errors were encountered: