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

Inherits org.sleuthkit.autopsy.ingest.FileIngestModule.

Public Member Functions

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

Private Member Functions

boolean parsableFormat (AbstractFile f)

Private Attributes

Blackboard blackboard
final AtomicInteger filesProcessed = new AtomicInteger(0)
volatile boolean filesToFire = false
FileTypeDetector fileTypeDetector
long jobId
final List< BlackboardArtifact > listOfFacesDetectedArtifacts = new ArrayList<>()
final IngestServices services = IngestServices.getInstance()
final HashSet< String > supportedMimeTypes = new HashSet<>()
TimeZone timeZone = null

Static Private Attributes

static final Logger logger = Logger.getLogger(ExifParserFileIngestModule.class.getName())
static final IngestModuleReferenceCounter refCounter = new IngestModuleReferenceCounter()

Detailed Description

Ingest module to parse image Exif metadata. Currently only supports JPEG files. Ingests an image file and, if available, adds it's date, latitude, longitude, altitude, device model, and device make to a blackboard artifact.

Definition at line 67 of file

Member Function Documentation

boolean org.sleuthkit.autopsy.modules.exif.ExifParserFileIngestModule.parsableFormat ( AbstractFile  f)

Checks if should try to attempt to extract exif. Currently checks if JPEG image (by signature)

ffile to be checked
true if to be processed

Definition at line 246 of file

References org.sleuthkit.autopsy.modules.filetypeid.FileTypeDetector.getFileType().

Referenced by org.sleuthkit.autopsy.modules.exif.ExifParserFileIngestModule.process().

ProcessResult org.sleuthkit.autopsy.modules.exif.ExifParserFileIngestModule.process ( AbstractFile  file)
void org.sleuthkit.autopsy.modules.exif.ExifParserFileIngestModule.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 261 of file

References org.sleuthkit.autopsy.ingest.IngestModuleReferenceCounter.decrementAndGet(), and org.sleuthkit.autopsy.ingest.IngestServices.fireModuleDataEvent().

void org.sleuthkit.autopsy.modules.exif.ExifParserFileIngestModule.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 88 of file

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

Member Data Documentation

Blackboard org.sleuthkit.autopsy.modules.exif.ExifParserFileIngestModule.blackboard

Definition at line 79 of file

final AtomicInteger org.sleuthkit.autopsy.modules.exif.ExifParserFileIngestModule.filesProcessed = new AtomicInteger(0)

Definition at line 71 of file

volatile boolean org.sleuthkit.autopsy.modules.exif.ExifParserFileIngestModule.filesToFire = false

Definition at line 72 of file

FileTypeDetector org.sleuthkit.autopsy.modules.exif.ExifParserFileIngestModule.fileTypeDetector

Definition at line 76 of file

long org.sleuthkit.autopsy.modules.exif.ExifParserFileIngestModule.jobId

Definition at line 74 of file

final List<BlackboardArtifact> org.sleuthkit.autopsy.modules.exif.ExifParserFileIngestModule.listOfFacesDetectedArtifacts = new ArrayList<>()

Definition at line 73 of file

final Logger org.sleuthkit.autopsy.modules.exif.ExifParserFileIngestModule.logger = Logger.getLogger(ExifParserFileIngestModule.class.getName())

Definition at line 69 of file

final IngestModuleReferenceCounter org.sleuthkit.autopsy.modules.exif.ExifParserFileIngestModule.refCounter = new IngestModuleReferenceCounter()

Definition at line 75 of file

final IngestServices = IngestServices.getInstance()

Definition at line 70 of file

final HashSet<String> org.sleuthkit.autopsy.modules.exif.ExifParserFileIngestModule.supportedMimeTypes = new HashSet<>()

Definition at line 77 of file

TimeZone org.sleuthkit.autopsy.modules.exif.ExifParserFileIngestModule.timeZone = null

Definition at line 78 of file

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

Copyright © 2012-2015 Basis Technology. Generated on: Wed Apr 6 2016
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.