Autopsy
3.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.ingest.FileIngestModule.
Classes | |
class | IngestJobTotals |
Public Member Functions | |
void | startUp (IngestJobContext context) throws IngestModuleException |
ProcessResult | process (AbstractFile file) |
void | shutDown () |
Static Public Member Functions | |
static boolean | isMimeTypeDetectable (String mimeType) |
Static Private Member Functions | |
static synchronized void | addToTotals (long jobId, long matchTimeInc) |
Private Attributes | |
final FileTypeIdModuleSettings | settings |
long | jobId |
FileTypeDetector | fileTypeDetector |
Static Private Attributes | |
static final Logger | logger = Logger.getLogger(FileTypeIdIngestModule.class.getName()) |
static final HashMap< Long, IngestJobTotals > | totalsForIngestJobs = new HashMap<>() |
static final IngestModuleReferenceCounter | refCounter = new IngestModuleReferenceCounter() |
Detects the type of a file based on signature (magic) values. Posts results to the blackboard.
Definition at line 38 of file FileTypeIdIngestModule.java.
|
staticprivate |
Update the match time total and increment number of files processed for this ingest job.
jobId | The ingest job identifier. |
matchTimeInc | Amount of time to add. |
Definition at line 158 of file FileTypeIdIngestModule.java.
Referenced by org.sleuthkit.autopsy.modules.filetypeid.FileTypeIdIngestModule.process().
|
static |
Validate if a given mime type is in the detector's registry.
mimeType | Full string of mime type, e.g. "text/html" |
Definition at line 56 of file FileTypeIdIngestModule.java.
References org.sleuthkit.autopsy.modules.filetypeid.FileTypeDetector.isDetectable().
ProcessResult org.sleuthkit.autopsy.modules.filetypeid.FileTypeIdIngestModule.process | ( | AbstractFile | file | ) |
Skip known files if configured to do so.
Attempt to detect the file type. Do it within an exception firewall, so that any issues with reading file content or complaints from tika do not take the module down.
Implements org.sleuthkit.autopsy.ingest.FileIngestModule.
Definition at line 93 of file FileTypeIdIngestModule.java.
References org.sleuthkit.autopsy.modules.filetypeid.FileTypeIdIngestModule.addToTotals(), org.sleuthkit.autopsy.ingest.IngestModule.ProcessResult.ERROR, org.sleuthkit.autopsy.modules.filetypeid.FileTypeDetector.getFileType(), org::sleuthkit::datamodel::AbstractContent.getId(), org::sleuthkit::datamodel::AbstractFile.getKnown(), org::sleuthkit::datamodel::TskData::FileKnown.KNOWN, org.sleuthkit.autopsy.ingest.IngestModule.ProcessResult.OK, and org.sleuthkit.autopsy.modules.filetypeid.FileTypeIdModuleSettings.skipKnownFiles.
void org.sleuthkit.autopsy.modules.filetypeid.FileTypeIdIngestModule.shutDown | ( | ) |
If this is the instance of this module for this ingest job, post a summary message to the ingest messages box.
Implements org.sleuthkit.autopsy.ingest.FileIngestModule.
Definition at line 122 of file FileTypeIdIngestModule.java.
References org.sleuthkit.autopsy.ingest.IngestMessage.createMessage(), org.sleuthkit.autopsy.ingest.IngestModuleReferenceCounter.decrementAndGet(), org.sleuthkit.autopsy.ingest.IngestServices.getInstance(), org.sleuthkit.autopsy.ingest.IngestMessage.MessageType.INFO, and org.sleuthkit.autopsy.ingest.IngestServices.postMessage().
void org.sleuthkit.autopsy.modules.filetypeid.FileTypeIdIngestModule.startUp | ( | IngestJobContext | context | ) | throws IngestModuleException |
Implements org.sleuthkit.autopsy.ingest.IngestModule.
Definition at line 79 of file FileTypeIdIngestModule.java.
References org.sleuthkit.autopsy.ingest.IngestModuleReferenceCounter.incrementAndGet().
|
private |
Definition at line 45 of file FileTypeIdIngestModule.java.
|
private |
Definition at line 42 of file FileTypeIdIngestModule.java.
|
staticprivate |
Definition at line 40 of file FileTypeIdIngestModule.java.
|
staticprivate |
Definition at line 44 of file FileTypeIdIngestModule.java.
|
private |
Definition at line 41 of file FileTypeIdIngestModule.java.
|
staticprivate |
Definition at line 43 of file FileTypeIdIngestModule.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.