Inherits org.sleuthkit.autopsy.ingest.FileIngestModule.
Definition at line 51 of file HashDbIngestModule.java.
static synchronized IngestJobTotals org.sleuthkit.autopsy.modules.hashdatabase.HashDbIngestModule.getTotalsForIngestJobs |
( |
long |
ingestJobId | ) |
|
|
staticprivate |
void org.sleuthkit.autopsy.modules.hashdatabase.HashDbIngestModule.postHashSetHitToBlackboard |
( |
AbstractFile |
abstractFile, |
|
|
String |
md5Hash, |
|
|
String |
hashSetName, |
|
|
String |
comment, |
|
|
boolean |
showInboxMessage |
|
) |
| |
|
private |
static synchronized void org.sleuthkit.autopsy.modules.hashdatabase.HashDbIngestModule.postSummary |
( |
long |
jobId, |
|
|
List< HashDb > |
knownBadHashSets, |
|
|
List< HashDb > |
knownHashSets |
|
) |
| |
|
staticprivate |
ProcessResult org.sleuthkit.autopsy.modules.hashdatabase.HashDbIngestModule.process |
( |
AbstractFile |
file | ) |
|
Processes a file. Called between calls to startUp() and shutDown(). Will be called for each file in a data source.
- Parameters
-
- Returns
- A result code indicating success or failure of the processing.
Implements org.sleuthkit.autopsy.ingest.FileIngestModule.
Definition at line 140 of file HashDbIngestModule.java.
References org.sleuthkit.autopsy.ingest.IngestMessage.createErrorMessage(), org.sleuthkit.autopsy.ingest.IngestModule.ProcessResult.ERROR, org.sleuthkit.autopsy.casemodule.services.Services.getBlackboard(), org.sleuthkit.autopsy.casemodule.Case.getCurrentCase(), org.sleuthkit.autopsy.casemodule.Case.getServices(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbIngestModule.getTotalsForIngestJobs(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbIngestModule.MAX_COMMENT_SIZE, org.sleuthkit.autopsy.ingest.IngestModule.ProcessResult.OK, org.sleuthkit.autopsy.modules.hashdatabase.HashDbIngestModule.postHashSetHitToBlackboard(), org.sleuthkit.autopsy.ingest.IngestServices.postMessage(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbIngestModule.IngestJobTotals.totalCalctime, org.sleuthkit.autopsy.modules.hashdatabase.HashDbIngestModule.IngestJobTotals.totalKnownBadCount, and org.sleuthkit.autopsy.modules.hashdatabase.HashDbIngestModule.IngestJobTotals.totalLookuptime.
void org.sleuthkit.autopsy.modules.hashdatabase.HashDbIngestModule.shutDown |
( |
| ) |
|
Invoked by Autopsy to allow an ingest module instance to set up any internal data structures and acquire any private resources it will need during an ingest job. If the module depends on loading any resources, it should do so in this method so that it can throw an exception in the case of an error and alert the user. Exceptions that are thrown from process() and shutDown() are logged, but do not stop processing of the data source.
- Parameters
-
context | Provides data and services specific to the ingest job and the ingest pipeline of which the module is a part. |
- Exceptions
-
Implements org.sleuthkit.autopsy.ingest.IngestModule.
Definition at line 87 of file HashDbIngestModule.java.
References org.sleuthkit.autopsy.ingest.IngestMessage.createWarningMessage(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.getKnownBadFileHashSets(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.getKnownFileHashSets(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbIngestModule.getTotalsForIngestJobs(), org.sleuthkit.autopsy.ingest.IngestModuleReferenceCounter.incrementAndGet(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbIngestModule.knownBadHashSets, org.sleuthkit.autopsy.modules.hashdatabase.HashDbIngestModule.knownHashSets, org.sleuthkit.autopsy.ingest.IngestServices.postMessage(), and org.sleuthkit.autopsy.modules.hashdatabase.HashDbIngestModule.updateEnabledHashSets().
void org.sleuthkit.autopsy.modules.hashdatabase.HashDbIngestModule.updateEnabledHashSets |
( |
List< HashDb > |
allHashSets, |
|
|
List< HashDb > |
enabledHashSets |
|
) |
| |
|
private |
Blackboard org.sleuthkit.autopsy.modules.hashdatabase.HashDbIngestModule.blackboard |
|
private |
long org.sleuthkit.autopsy.modules.hashdatabase.HashDbIngestModule.jobId |
|
private |
List<HashDb> org.sleuthkit.autopsy.modules.hashdatabase.HashDbIngestModule.knownBadHashSets = new ArrayList<>() |
|
private |
List<HashDb> org.sleuthkit.autopsy.modules.hashdatabase.HashDbIngestModule.knownHashSets = new ArrayList<>() |
|
private |
final Logger org.sleuthkit.autopsy.modules.hashdatabase.HashDbIngestModule.logger = Logger.getLogger(HashDbIngestModule.class.getName()) |
|
staticprivate |
final int org.sleuthkit.autopsy.modules.hashdatabase.HashDbIngestModule.MAX_COMMENT_SIZE = 500 |
|
staticprivate |
final HashLookupModuleSettings org.sleuthkit.autopsy.modules.hashdatabase.HashDbIngestModule.settings |
|
private |
final SleuthkitCase org.sleuthkit.autopsy.modules.hashdatabase.HashDbIngestModule.skCase = Case.getCurrentCase().getSleuthkitCase() |
|
private |
final HashMap<Long, IngestJobTotals> org.sleuthkit.autopsy.modules.hashdatabase.HashDbIngestModule.totalsForIngestJobs = new HashMap<>() |
|
staticprivate |
The documentation for this class was generated from the following file: