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

Inherits org.sleuthkit.autopsy.modules.hashdatabase.HashSetParser.

Public Member Functions

final void close ()
 
boolean doneReading ()
 
long getExpectedHashCount ()
 
String getNextHash () throws TskCoreException
 

Private Attributes

Connection conn
 
final String filename
 
final String JDBC_BASE_URI = "jdbc:sqlite:"
 
final String JDBC_DRIVER = "org.sqlite.JDBC"
 
ResultSet resultSet
 
Statement statement
 
final long totalHashes
 
int totalHashesRead = 0
 

Detailed Description

Parser for Autopsy/TSK-created databases (*.kdb)

Definition at line 33 of file KdbHashSetParser.java.

Member Function Documentation

final void org.sleuthkit.autopsy.modules.hashdatabase.KdbHashSetParser.close ( )

Closes the import file

Definition at line 135 of file KdbHashSetParser.java.

References org.sleuthkit.autopsy.coreutils.Logger.getLogger().

boolean org.sleuthkit.autopsy.modules.hashdatabase.KdbHashSetParser.doneReading ( )

Check if there are more hashes to read

Returns
true if we've read all expected hash values, false otherwise

Definition at line 117 of file KdbHashSetParser.java.

long org.sleuthkit.autopsy.modules.hashdatabase.KdbHashSetParser.getExpectedHashCount ( )

Get the expected number of hashes in the file.

Returns
The expected hash count

Definition at line 127 of file KdbHashSetParser.java.

References org.sleuthkit.autopsy.modules.hashdatabase.KdbHashSetParser.totalHashes.

String org.sleuthkit.autopsy.modules.hashdatabase.KdbHashSetParser.getNextHash ( ) throws TskCoreException

Get the next hash to import

Returns
The hash as a string
Exceptions
TskCoreException

Definition at line 87 of file KdbHashSetParser.java.

Member Data Documentation

Connection org.sleuthkit.autopsy.modules.hashdatabase.KdbHashSetParser.conn
private

Definition at line 41 of file KdbHashSetParser.java.

final String org.sleuthkit.autopsy.modules.hashdatabase.KdbHashSetParser.filename
private

Definition at line 38 of file KdbHashSetParser.java.

final String org.sleuthkit.autopsy.modules.hashdatabase.KdbHashSetParser.JDBC_BASE_URI = "jdbc:sqlite:"
private

Definition at line 36 of file KdbHashSetParser.java.

final String org.sleuthkit.autopsy.modules.hashdatabase.KdbHashSetParser.JDBC_DRIVER = "org.sqlite.JDBC"
private

Definition at line 35 of file KdbHashSetParser.java.

ResultSet org.sleuthkit.autopsy.modules.hashdatabase.KdbHashSetParser.resultSet
private

Definition at line 43 of file KdbHashSetParser.java.

Statement org.sleuthkit.autopsy.modules.hashdatabase.KdbHashSetParser.statement
private

Definition at line 42 of file KdbHashSetParser.java.

final long org.sleuthkit.autopsy.modules.hashdatabase.KdbHashSetParser.totalHashes
private
int org.sleuthkit.autopsy.modules.hashdatabase.KdbHashSetParser.totalHashesRead = 0
private

Definition at line 40 of file KdbHashSetParser.java.


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

Copyright © 2012-2018 Basis Technology. Generated on: Fri Mar 22 2019
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.