Autopsy  3.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.modules.fileextmismatch.FileExtMismatchIngestModule Class Reference

Inherits org.sleuthkit.autopsy.ingest.FileIngestModule.


class  IngestJobTotals

Public Member Functions

void startUp (IngestJobContext context) throws IngestModuleException
ProcessResult process (AbstractFile abstractFile)
void shutDown ()

Private Member Functions

boolean compareSigTypeToExt (AbstractFile abstractFile)

Static Private Member Functions

static synchronized void addToTotals (long ingestJobId, long processTimeInc)

Private Attributes

final IngestServices services = IngestServices.getInstance()
final FileExtMismatchDetectorModuleSettings settings
HashMap< String, String[]> SigTypeToExtMap = new HashMap<>()
long jobId

Static Private Attributes

static final Logger logger = Logger.getLogger(FileExtMismatchIngestModule.class.getName())
static final HashMap< Long, IngestJobTotalstotalsForIngestJobs = new HashMap<>()
static final IngestModuleReferenceCounter refCounter = new IngestModuleReferenceCounter()

Detailed Description

Flags mismatched filename extensions based on file signature.

Definition at line 46 of file

Member Function Documentation

static synchronized void org.sleuthkit.autopsy.modules.fileextmismatch.FileExtMismatchIngestModule.addToTotals ( long  ingestJobId,
long  processTimeInc 
boolean org.sleuthkit.autopsy.modules.fileextmismatch.FileExtMismatchIngestModule.compareSigTypeToExt ( AbstractFile  abstractFile)
ProcessResult org.sleuthkit.autopsy.modules.fileextmismatch.FileExtMismatchIngestModule.process ( AbstractFile  file)
void org.sleuthkit.autopsy.modules.fileextmismatch.FileExtMismatchIngestModule.shutDown ( )

Invoked by Autopsy when an ingest job is completed (either because the data has been analyzed or because the job was canceled - check IngestJobContext.fileIngestIsCancelled()), before the ingest module instance is discarded. The module should respond by doing things like releasing private resources, submitting final results, and posting a final ingest message.

Implements org.sleuthkit.autopsy.ingest.FileIngestModule.

Definition at line 176 of file

References org.sleuthkit.autopsy.ingest.IngestMessage.createMessage(), org.sleuthkit.autopsy.ingest.IngestModuleReferenceCounter.decrementAndGet(), org.sleuthkit.autopsy.ingest.IngestMessage.MessageType.INFO, org.sleuthkit.autopsy.modules.fileextmismatch.FileExtMismatchIngestModule.IngestJobTotals.numFiles, org.sleuthkit.autopsy.ingest.IngestServices.postMessage(), and org.sleuthkit.autopsy.modules.fileextmismatch.FileExtMismatchIngestModule.IngestJobTotals.processTime.

void org.sleuthkit.autopsy.modules.fileextmismatch.FileExtMismatchIngestModule.startUp ( IngestJobContext  context) throws IngestModuleException

Invoked by Autopsy to allow an ingest module instance to set up any internal data structures and acquire any private resources it will need during an ingest job. If the module depends on loading any resources, it should do so in this method so that it can throw an exception in the case of an error and alert the user. Exceptions that are thrown from process() and shutDown() are logged, but do not stop processing of the data source.

contextProvides data and services specific to the ingest job and the ingest pipeline of which the module is a part.

Implements org.sleuthkit.autopsy.ingest.IngestModule.

Definition at line 83 of file

References org.sleuthkit.autopsy.ingest.IngestModuleReferenceCounter.incrementAndGet().

Member Data Documentation

long org.sleuthkit.autopsy.modules.fileextmismatch.FileExtMismatchIngestModule.jobId

Definition at line 52 of file

final Logger org.sleuthkit.autopsy.modules.fileextmismatch.FileExtMismatchIngestModule.logger = Logger.getLogger(FileExtMismatchIngestModule.class.getName())

Definition at line 48 of file

final IngestModuleReferenceCounter org.sleuthkit.autopsy.modules.fileextmismatch.FileExtMismatchIngestModule.refCounter = new IngestModuleReferenceCounter()

Definition at line 54 of file

final IngestServices = IngestServices.getInstance()

Definition at line 49 of file

final FileExtMismatchDetectorModuleSettings org.sleuthkit.autopsy.modules.fileextmismatch.FileExtMismatchIngestModule.settings

Definition at line 50 of file

HashMap<String, String[]> org.sleuthkit.autopsy.modules.fileextmismatch.FileExtMismatchIngestModule.SigTypeToExtMap = new HashMap<>()

Definition at line 51 of file

final HashMap<Long, IngestJobTotals> org.sleuthkit.autopsy.modules.fileextmismatch.FileExtMismatchIngestModule.totalsForIngestJobs = new HashMap<>()

Definition at line 53 of file

The documentation for this class was generated from the following file:

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.