Autopsy
4.17.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Private Member Functions | |
BlackboardAttribute | checkAttribute (String key, String value) |
void | createMetadataArtifact (AbstractFile aFile, Map< String, String > metadata) |
boolean | extractStringsAndIndex (AbstractFile aFile) |
boolean | extractTextAndIndex (AbstractFile aFile, Map< String, String > extractedMetadata) throws IngesterException |
CharSource | getMetaDataCharSource (Map< String, String > metadata) |
void | indexFile (AbstractFile aFile, boolean indexContent) |
boolean | indexTextFile (AbstractFile aFile) |
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 496 of file KeywordSearchIngestModule.java.
|
private |
Definition at line 592 of file KeywordSearchIngestModule.java.
|
private |
Definition at line 555 of file KeywordSearchIngestModule.java.
References org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), and org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase().
|
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 646 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 |
extractedMetadata | Map that will be populated with the file's metadata. |
IngesterException | exception thrown if indexing failed |
Definition at line 513 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 628 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. |
Extract unicode strings from unallocated and unused blocks and carved text files. The reason for performing string extraction on these is because they all may contain multiple encodings which can cause text to be missed by the more specialized text extractors used below.
Definition at line 675 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 |
Adds the text file to the index given an encoding. Returns true if indexing was successful and false otherwise.
aFile | Text file to analyze |
Definition at line 791 of file KeywordSearchIngestModule.java.
References org.sleuthkit.autopsy.textextractors.TextFileExtractor.getReader(), and org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.IngestStatus.TEXT_INGESTED.
|
private |
Definition at line 498 of file KeywordSearchIngestModule.java.
Copyright © 2012-2021 Basis Technology. Generated on: Tue Jan 19 2021
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.