Autopsy  4.21.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

Member Function Documentation

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

Closes the import file

Definition at line 146 of file

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

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

Check if there are more hashes to read

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

Definition at line 128 of file

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

Get the expected number of hashes in the file.

The expected hash count

Definition at line 138 of file

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

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

Get the next hash to import

The hash as a string

Definition at line 92 of file

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

Definition at line 42 of file

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

Definition at line 39 of file

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

Definition at line 37 of file

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

Definition at line 36 of file

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

Definition at line 44 of file

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

Definition at line 43 of file

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

Definition at line 41 of file

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

Copyright © 2012-2022 Basis Technology. Generated on: Tue Feb 6 2024
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.