Autopsy
4.9.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.ingest.FileIngestModuleAdapter.
Public Member Functions | |
ProcessResult | process (AbstractFile abstractFile) |
void | shutDown () |
void | startUp (IngestJobContext context) throws IngestModuleException |
Private Attributes | |
SevenZipExtractor | archiveExtractor |
FileTypeDetector | fileTypeDetector |
long | jobId |
MSOfficeEmbeddedContentExtractor | officeExtractor |
Static Private Attributes | |
static final ConcurrentHashMap< Long, ConcurrentHashMap< Long, Archive > > | mapOfDepthTrees = new ConcurrentHashMap<>() |
static final IngestModuleReferenceCounter | refCounter = new IngestModuleReferenceCounter() |
A file level ingest module that extracts embedded files from supported archive and document formats.
Definition at line 48 of file EmbeddedFileExtractorIngestModule.java.
ProcessResult org.sleuthkit.autopsy.modules.embeddedfileextractor.EmbeddedFileExtractorIngestModule.process | ( | AbstractFile | file | ) |
Processes a file. Called between calls to startUp() and shutDown(). Will be called for each file in a data source.
file | The file to analyze. |
Implements org.sleuthkit.autopsy.ingest.FileIngestModule.
Definition at line 129 of file EmbeddedFileExtractorIngestModule.java.
References org.sleuthkit.autopsy.ingest.IngestModule.ProcessResult.OK.
void org.sleuthkit.autopsy.modules.embeddedfileextractor.EmbeddedFileExtractorIngestModule.shutDown | ( | ) |
Invoked by Autopsy when an ingest job is completed (either because the data has been analyzed or because the job was canceled - check IngestJobContext.fileIngestIsCancelled()), before the ingest module instance is discarded. The module should respond by doing things like releasing private resources, submitting final results, and posting a final ingest message.
Implements org.sleuthkit.autopsy.ingest.FileIngestModule.
Definition at line 165 of file EmbeddedFileExtractorIngestModule.java.
References org.sleuthkit.autopsy.ingest.IngestModuleReferenceCounter.decrementAndGet().
void org.sleuthkit.autopsy.modules.embeddedfileextractor.EmbeddedFileExtractorIngestModule.startUp | ( | IngestJobContext | context | ) | throws IngestModuleException |
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.
context | Provides data and services specific to the ingest job and the ingest pipeline of which the module is a part. |
Implements org.sleuthkit.autopsy.ingest.IngestModule.
Definition at line 66 of file EmbeddedFileExtractorIngestModule.java.
References org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), org.sleuthkit.autopsy.casemodule.Case.getModuleDirectory(), org.sleuthkit.autopsy.casemodule.Case.getModuleOutputDirectoryRelativePath(), and org.sleuthkit.autopsy.ingest.IngestModuleReferenceCounter.incrementAndGet().
|
private |
Definition at line 54 of file EmbeddedFileExtractorIngestModule.java.
|
private |
Definition at line 55 of file EmbeddedFileExtractorIngestModule.java.
|
private |
Definition at line 56 of file EmbeddedFileExtractorIngestModule.java.
|
staticprivate |
Definition at line 51 of file EmbeddedFileExtractorIngestModule.java.
|
private |
Definition at line 53 of file EmbeddedFileExtractorIngestModule.java.
|
staticprivate |
Definition at line 52 of file EmbeddedFileExtractorIngestModule.java.
Copyright © 2012-2018 Basis Technology. Generated on: Tue Dec 18 2018
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.