Autopsy
3.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Private Member Functions | |
boolean | extractTextAndIndex (AbstractFile aFile, String detectedFormat) throws IngesterException |
boolean | extractStringsAndIndex (AbstractFile aFile) |
boolean | isTextExtractSupported (AbstractFile aFile, String detectedFormat) |
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 367 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 411 of file KeywordSearchIngestModule.java.
References org::sleuthkit::datamodel::AbstractContent.getId(), org::sleuthkit::datamodel::AbstractContent.getName(), org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.putIngestStatus(), 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.
Referenced by org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.Indexer.indexFile().
|
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 382 of file KeywordSearchIngestModule.java.
Referenced by org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.Indexer.indexFile().
|
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 454 of file KeywordSearchIngestModule.java.
References org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.Indexer.extractStringsAndIndex(), org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.Indexer.extractTextAndIndex(), org.sleuthkit.autopsy.modules.filetypeid.FileTypeDetector.getFileType(), org::sleuthkit::datamodel::AbstractContent.getId(), org::sleuthkit::datamodel::AbstractContent.getName(), org::sleuthkit::datamodel::AbstractFile.getSize(), org::sleuthkit::datamodel::AbstractFile.getType(), org::sleuthkit::datamodel::AbstractFile.isDir(), org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.Indexer.isTextExtractSupported(), org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.IngestStatus.METADATA_INGESTED, org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.putIngestStatus(), org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.IngestStatus.SKIPPED_ERROR_INDEXING, org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.IngestStatus.SKIPPED_ERROR_TEXTEXTRACT, org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.IngestStatus.TEXT_INGESTED, org::sleuthkit::datamodel::TskData::TSK_DB_FILES_TYPE_ENUM.UNALLOC_BLOCKS, and org::sleuthkit::datamodel::TskData::TSK_DB_FILES_TYPE_ENUM.UNUSED_BLOCKS.
Referenced by org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.process().
|
private |
Check with every extractor if it supports the file with the detected format
aFile | file to check for |
detectedFormat | mime-type with detected format (such as text/plain) or null if not detected |
Definition at line 437 of file KeywordSearchIngestModule.java.
Referenced by org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.Indexer.indexFile().
|
private |
Definition at line 369 of file KeywordSearchIngestModule.java.
Copyright © 2012-2015 Basis Technology. Generated on: Mon Oct 19 2015
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.