Autopsy  4.18.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
 
HashEntry getNextHashEntry () 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 34 of file KdbHashSetParser.java.

Member Function Documentation

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

Closes the import file

Definition at line 146 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 128 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 138 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 92 of file KdbHashSetParser.java.

References org.sleuthkit.autopsy.modules.hashdatabase.KdbHashSetParser.getNextHashEntry().

HashEntry org.sleuthkit.autopsy.modules.hashdatabase.KdbHashSetParser.getNextHashEntry ( ) throws TskCoreException

Member Data Documentation

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

Definition at line 42 of file KdbHashSetParser.java.

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

Definition at line 39 of file KdbHashSetParser.java.

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

Definition at line 37 of file KdbHashSetParser.java.

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

Definition at line 36 of file KdbHashSetParser.java.

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

Definition at line 44 of file KdbHashSetParser.java.

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

Definition at line 43 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 41 of file KdbHashSetParser.java.


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

Copyright © 2012-2021 Basis Technology. Generated on: Thu Jul 8 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.