OWNsecurity / fastir_artifacts

Live forensic artifacts collector
https://medium.com/@Sekoia_team/introducing-fastir-artifacts-66f1d43fcac5
GNU General Public License v3.0
160 stars 17 forks source link

TypeError: unhashable type: 'list' #21

Open edu-lance opened 1 year ago

edu-lance commented 1 year ago

self._entries_cache = {}
self._entries_cache_last = []

#....

first = self._entries_cache_last.pop(0)
del self._entries_cache[first]

entries = []
directory = path_object.obj

#....
self._entries_cache[path_object.path] = entries
self._entries_cache_last.append(entries)

delete by value?