1
0
mirror of https://github.com/elisspace/autopsy.git synced 2026-08-31 08:32:01 +00:00

bug fixes

This commit is contained in:
Greg DiCristofaro
2021-07-20 13:09:53 -04:00
parent 8279df1a3b
commit c32ab89922
6 changed files with 13 additions and 9 deletions

View File

@@ -109,7 +109,7 @@ class FindBigRoundFilesIngestModule(FileIngestModule):
def process(self, file):
# Use blackboard class to index blackboard artifacts for keyword search
blackboard = Case.getCurrentCase().getServices().getBlackboard()
blackboard = Case.getCurrentCase().getSleuthkitCase().getBlackboard()
# Skip non-files
if ((file.getType() == TskData.TSK_DB_FILES_TYPE_ENUM.UNALLOC_BLOCKS) or
@@ -131,7 +131,7 @@ class FindBigRoundFilesIngestModule(FileIngestModule):
try:
# post the artifact for listeners of artifact events
blackboard.postArtifact(art)
blackboard.postArtifact(art, FindBigRoundFilesIngestModuleFactory.moduleName)
except Blackboard.BlackboardException as e:
self.log(Level.SEVERE, "Error indexing artifact " + art.getDisplayName())