Autopsy  4.21.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Static Public Member Functions | Static Private Attributes | List of all members
com.basistech.df.cybertriage.autopsy.ctapi.util.CTHostIDGenerationUtil Class Reference

Static Public Member Functions

static String generateLicenseHostID ()
 

Static Private Attributes

static String cachedId = ""
 
static final Logger LOGGER = Logger.getLogger(CTHostIDGenerationUtil.class.getName())
 
static final String USER_NAME = System.getProperty("user.name")
 

Detailed Description

Utility class to generate license hostID and Target hostID for malware scan

Author
rishwanth

Definition at line 33 of file CTHostIDGenerationUtil.java.

Member Function Documentation

static String com.basistech.df.cybertriage.autopsy.ctapi.util.CTHostIDGenerationUtil.generateLicenseHostID ( )
static

Host ID Algorithm: Get MAC address from License4J. Get MD5 hash of it and grab the first 16 characters of the hash. Get user name that Cyber Triage is running as. MD5 hash of user name. Grab first 16 characters. Concatenate them and separate with underscore. Example: c84f70d1baf96420_7d7519bf21602c24

Returns

Definition at line 48 of file CTHostIDGenerationUtil.java.

References com.basistech.df.cybertriage.autopsy.ctapi.util.CTHostIDGenerationUtil.cachedId, and com.basistech.df.cybertriage.autopsy.ctapi.util.Md5HashUtil.getMD5MessageDigest().

Referenced by com.basistech.df.cybertriage.autopsy.ctapi.CTApiDAO.getLicenseInfo().

Member Data Documentation

String com.basistech.df.cybertriage.autopsy.ctapi.util.CTHostIDGenerationUtil.cachedId = ""
staticprivate
final Logger com.basistech.df.cybertriage.autopsy.ctapi.util.CTHostIDGenerationUtil.LOGGER = Logger.getLogger(CTHostIDGenerationUtil.class.getName())
staticprivate

Definition at line 35 of file CTHostIDGenerationUtil.java.

final String com.basistech.df.cybertriage.autopsy.ctapi.util.CTHostIDGenerationUtil.USER_NAME = System.getProperty("user.name")
staticprivate

Definition at line 36 of file CTHostIDGenerationUtil.java.


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.