Autopsy
4.12.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Private Member Functions | |
boolean | extractStringsAndIndex (AbstractFile aFile) |
boolean | extractTextAndIndex (AbstractFile aFile) throws IngesterException |
CharSource | getMetaDataCharSource (Map< String, String > metadata) |
void | indexFile (AbstractFile aFile, boolean indexContent) |
Private Attributes | |
final Logger | logger = Logger.getLogger(Indexer.class.getName()) |
File indexer, processes and indexes known/allocated files, unknown/unallocated files and directories accordingly
Definition at line 466 of file KeywordSearchIngestModule.java.
|
private |
Extract strings using heuristics from the file and add to index.
aFile | file to extract strings from, divide into chunks and index |
Definition at line 546 of file KeywordSearchIngestModule.java.
References org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.context, org.sleuthkit.autopsy.ingest.IngestJobContext.fileIngestIsCancelled(), org.sleuthkit.autopsy.textextractors.TextExtractor.getReader(), org.sleuthkit.autopsy.textextractors.TextExtractorFactory.getStringsExtractor(), org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.IngestStatus.SKIPPED_ERROR_INDEXING, org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.IngestStatus.SKIPPED_ERROR_TEXTEXTRACT, and org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.IngestStatus.STRINGS_INGESTED.
|
private |
Extract text with Tika or other text extraction modules (by streaming) from the file Divide the file into chunks and index the chunks
aFile | file to extract strings from, divide into chunks and index |
IngesterException | exception thrown if indexing failed |
Definition at line 482 of file KeywordSearchIngestModule.java.
References org.sleuthkit.autopsy.ingest.IngestJobContext.fileIngestIsCancelled(), org.sleuthkit.autopsy.textextractors.TextExtractorFactory.getExtractor(), org.sleuthkit.autopsy.textextractors.TextExtractor.getMetadata(), org.sleuthkit.autopsy.textextractors.TextExtractor.getReader(), and org.sleuthkit.autopsy.textextractors.configs.ImageConfig.setOCREnabled().
|
private |
Pretty print the text extractor metadata.
metadata | The Metadata map to wrap as a CharSource |
Definition at line 528 of file KeywordSearchIngestModule.java.
|
private |
Adds the file to the index. Detects file type, calls extractors, etc.
aFile | File to analyze |
indexContent | False if only metadata should be text_ingested. True if content and metadata should be index. |
Definition at line 575 of file KeywordSearchIngestModule.java.
References org.sleuthkit.autopsy.ingest.IngestJobContext.fileIngestIsCancelled(), org.sleuthkit.autopsy.modules.filetypeid.FileTypeDetector.getMIMEType(), org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.IngestStatus.METADATA_INGESTED, org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.IngestStatus.SKIPPED_ERROR_INDEXING, org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.IngestStatus.SKIPPED_ERROR_TEXTEXTRACT, and org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.IngestStatus.TEXT_INGESTED.
Referenced by org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.process().
|
private |
Definition at line 468 of file KeywordSearchIngestModule.java.
Copyright © 2012-2018 Basis Technology. Generated on: Wed Sep 18 2019
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.