|
Autopsy
4.9.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Private Member Functions | |
| boolean | extractStringsAndIndex (AbstractFile aFile) |
| boolean | extractTextAndIndex (AbstractFile aFile, String detectedFormat) throws IngesterException |
| 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 460 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 500 of file KeywordSearchIngestModule.java.
References org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.context, org.sleuthkit.autopsy.ingest.IngestJobContext.fileIngestIsCancelled(), org.sleuthkit.autopsy.textreaders.TextReaders.getStringsReader(), 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 |
| detectedFormat | mime-type detected, or null if none detected |
| IngesterException | exception thrown if indexing failed |
Definition at line 477 of file KeywordSearchIngestModule.java.
References org.sleuthkit.autopsy.textreaders.TextReaders.getReader(), and org.sleuthkit.autopsy.textreaders.textreaderconfigs.ImageConfig.setOCREnabled().
|
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 528 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 462 of file KeywordSearchIngestModule.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.