Autopsy
4.7.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
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() |
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 73 of file ExifParserFileIngestModule.java.
|
private |
Checks if should try to attempt to extract exif. Currently checks if JPEG image (by signature)
f | file to be checked |
Definition at line 261 of file ExifParserFileIngestModule.java.
References org.sleuthkit.autopsy.modules.filetypeid.FileTypeDetector.getMIMEType().
ProcessResult org.sleuthkit.autopsy.modules.exif.ExifParserFileIngestModule.process | ( | AbstractFile | file | ) |
Processes a file. Called between calls to startUp() and shutDown(). Will be called for each file in a data source.
file | The file to analyze. |
Implements org.sleuthkit.autopsy.ingest.FileIngestModule.
Definition at line 105 of file ExifParserFileIngestModule.java.
References org.sleuthkit.autopsy.ingest.IngestModule.ProcessResult.ERROR, org.sleuthkit.autopsy.ingest.IngestServices.fireModuleDataEvent(), org.sleuthkit.autopsy.casemodule.services.Services.getBlackboard(), org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), org.sleuthkit.autopsy.casemodule.Case.getServices(), and org.sleuthkit.autopsy.ingest.IngestModule.ProcessResult.OK.
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 267 of file ExifParserFileIngestModule.java.
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.
context | Provides 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 94 of file ExifParserFileIngestModule.java.
References org.sleuthkit.autopsy.ingest.IngestModuleReferenceCounter.incrementAndGet().
|
private |
Definition at line 85 of file ExifParserFileIngestModule.java.
|
private |
Definition at line 77 of file ExifParserFileIngestModule.java.
|
private |
Definition at line 78 of file ExifParserFileIngestModule.java.
|
private |
Definition at line 82 of file ExifParserFileIngestModule.java.
|
private |
Definition at line 80 of file ExifParserFileIngestModule.java.
|
private |
Definition at line 79 of file ExifParserFileIngestModule.java.
|
staticprivate |
Definition at line 75 of file ExifParserFileIngestModule.java.
|
staticprivate |
Definition at line 81 of file ExifParserFileIngestModule.java.
|
private |
Definition at line 76 of file ExifParserFileIngestModule.java.
|
private |
Definition at line 83 of file ExifParserFileIngestModule.java.
|
private |
Definition at line 84 of file ExifParserFileIngestModule.java.
Copyright © 2012-2016 Basis Technology. Generated on: Mon Jun 18 2018
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.