Autopsy
4.21.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits ModuleInstall.
Public Member Functions | |
Installer () | |
void | close () |
boolean | closing () |
void | restored () |
void | uninstalled () |
void | validate () throws IllegalStateException |
Static Public Member Functions | |
static boolean | isJavaFxInited () |
Private Member Functions | |
void | checkMemoryAvailable () |
void | updateConfig () |
Static Private Member Functions | |
static void | addGstreamerPathsToEnv () |
static void | ensureClassifierFolderExists () |
static void | ensureOcrLanguagePacksFolderExists () |
static void | ensurePythonModulesFolderExists () |
static void | initializeSevenZip () |
static void | initJavaFx () |
static void | loadDynLibraries () |
static void | preloadJython () |
static void | preloadTranslationServices () |
static void | setTskTemp () |
Private Attributes | |
final List< ModuleInstall > | packageInstallers |
Static Private Attributes | |
static final String | AUTOPSY_TEMP_DIR_SUFFIX = "_temp" |
static final String | JAVA_TEMP = "java.io.tmpdir" |
static volatile boolean | javaFxInit = false |
static final Logger | logger = Logger.getLogger(Installer.class.getName()) |
static final long | serialVersionUID = 1L |
static final String | TSK_TEMP = "tsk.tmpdir" |
Wrapper over Installers in packages in Core module. This is the main registered installer in the MANIFEST.MF.
Definition at line 65 of file Installer.java.
org.sleuthkit.autopsy.core.Installer.Installer | ( | ) |
This is a temporary workaround for the following bug in Tika that results in a null pointer exception when used from the Image Gallery. The current hypothesis is that the Image Gallery is cancelling the thumbnail task that Tika initialization is happening on. Once the Tika issue has been fixed we should no longer need this workaround.
https://issues.apache.org/jira/browse/TIKA-2896
Definition at line 227 of file Installer.java.
References org.sleuthkit.autopsy.healthmonitor.Installer.getDefault(), org.sleuthkit.autopsy.coreutils.Installer.getDefault(), org.sleuthkit.autopsy.casemodule.Installer.getDefault(), com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.Installer.getDefault(), org.sleuthkit.autopsy.datamodel.Installer.getDefault(), org.sleuthkit.autopsy.report.infrastructure.Installer.getDefault(), org.sleuthkit.autopsy.ingest.Installer.getDefault(), org.sleuthkit.autopsy.modules.hashdatabase.infrastructure.Installer.getDefault(), org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.getDefault(), org.sleuthkit.autopsy.corecomponents.Installer.getDefault(), and org.sleuthkit.autopsy.core.Installer.updateConfig().
|
staticprivate |
Add the Gstreamer bin and lib paths to the PATH environment variable so that the correct plugins and libraries are found when Gstreamer is initialized later.
Definition at line 328 of file Installer.java.
References org.sleuthkit.autopsy.coreutils.PlatformUtil.is64BitJVM().
Referenced by org.sleuthkit.autopsy.core.Installer.loadDynLibraries().
|
private |
Checks system resources logging any potential issues.
Definition at line 439 of file Installer.java.
Referenced by org.sleuthkit.autopsy.core.Installer.restored().
void org.sleuthkit.autopsy.core.Installer.close | ( | ) |
Definition at line 584 of file Installer.java.
boolean org.sleuthkit.autopsy.core.Installer.closing | ( | ) |
Definition at line 550 of file Installer.java.
References org.sleuthkit.autopsy.actions.IngestRunningCheck.checkAndConfirmProceed(), org.sleuthkit.autopsy.casemodule.Case.closeCurrentCase(), org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Message.error(), and org.sleuthkit.autopsy.core.RuntimeProperties.runningWithGUI.
|
staticprivate |
Make a folder in the config directory for object detection classifiers if one does not exist.
Definition at line 368 of file Installer.java.
References org.sleuthkit.autopsy.coreutils.PlatformUtil.getObjectDetectionClassifierPath().
Referenced by org.sleuthkit.autopsy.core.Installer.restored().
|
staticprivate |
Make a folder in the config directory for Ocr Language Packs if one does not exist.
Definition at line 386 of file Installer.java.
References org.sleuthkit.autopsy.coreutils.PlatformUtil.getOcrLanguagePacksPath().
Referenced by org.sleuthkit.autopsy.core.Installer.restored().
|
staticprivate |
Make a folder in the config directory for Python Modules if one does not exist.
Definition at line 377 of file Installer.java.
References org.sleuthkit.autopsy.coreutils.PlatformUtil.getUserPythonModulesPath().
Referenced by org.sleuthkit.autopsy.core.Installer.restored().
|
staticprivate |
Initializes 7zip-java bindings. We are performing initialization once because we encountered issues related to file locking when initialization was performed closer to where the bindings are used. See JIRA-6528.
Definition at line 469 of file Installer.java.
Referenced by org.sleuthkit.autopsy.core.Installer.restored().
|
staticprivate |
Definition at line 292 of file Installer.java.
References org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.error().
Referenced by org.sleuthkit.autopsy.core.Installer.restored().
|
static |
Check if JavaFx initialized
Definition at line 288 of file Installer.java.
References org.sleuthkit.autopsy.core.Installer.javaFxInit.
Referenced by org.sleuthkit.autopsy.timeline.OpenTimelineAction.isEnabled().
|
staticprivate |
Definition at line 109 of file Installer.java.
References org.sleuthkit.autopsy.core.Installer.addGstreamerPathsToEnv(), and org.sleuthkit.autopsy.coreutils.PlatformUtil.isWindowsOS().
|
staticprivate |
Runs an initial load of the Jython modules to speed up subsequent loads.
Definition at line 481 of file Installer.java.
References org.sleuthkit.autopsy.python.JythonModuleLoader.getDataSourceProcessorModules(), org.sleuthkit.autopsy.python.JythonModuleLoader.getGeneralReportModules(), and org.sleuthkit.autopsy.python.JythonModuleLoader.getIngestModuleFactories().
Referenced by org.sleuthkit.autopsy.core.Installer.restored().
|
staticprivate |
Runs an initial load of the translation services to speed up subsequent loads.
Definition at line 500 of file Installer.java.
References org.sleuthkit.autopsy.texttranslation.TextTranslationService.getInstance().
Referenced by org.sleuthkit.autopsy.core.Installer.restored().
void org.sleuthkit.autopsy.core.Installer.restored | ( | ) |
Definition at line 404 of file Installer.java.
References org.sleuthkit.autopsy.core.Installer.checkMemoryAvailable(), org.sleuthkit.autopsy.core.Installer.ensureClassifierFolderExists(), org.sleuthkit.autopsy.core.Installer.ensureOcrLanguagePacksFolderExists(), org.sleuthkit.autopsy.core.Installer.ensurePythonModulesFolderExists(), org.sleuthkit.autopsy.core.Installer.initializeSevenZip(), org.sleuthkit.autopsy.core.Installer.initJavaFx(), org.sleuthkit.autopsy.core.Installer.preloadJython(), and org.sleuthkit.autopsy.core.Installer.preloadTranslationServices().
|
staticprivate |
Set TSK temp directory to de-conflict with other programs using TSK libs.
Definition at line 93 of file Installer.java.
References org.sleuthkit.autopsy.core.Installer.AUTOPSY_TEMP_DIR_SUFFIX, and org.sleuthkit.autopsy.core.UserPreferences.getAppName().
void org.sleuthkit.autopsy.core.Installer.uninstalled | ( | ) |
Definition at line 529 of file Installer.java.
|
private |
If the mode in the configuration file is 'REVIEW' (2, now invalid), this method will set it to 'STANDALONE' (0) and disable auto ingest.
Definition at line 271 of file Installer.java.
References org.sleuthkit.autopsy.coreutils.ModuleSettings.getConfigSetting(), org.sleuthkit.autopsy.coreutils.ModuleSettings.setConfigSetting(), org.sleuthkit.autopsy.core.UserPreferences.setMode(), org.sleuthkit.autopsy.core.UserPreferences.SETTINGS_PROPERTIES, and org.sleuthkit.autopsy.core.UserPreferences.SelectedMode.STANDALONE.
Referenced by org.sleuthkit.autopsy.core.Installer.Installer().
void org.sleuthkit.autopsy.core.Installer.validate | ( | ) | throws IllegalStateException |
Definition at line 514 of file Installer.java.
|
staticprivate |
Definition at line 70 of file Installer.java.
Referenced by org.sleuthkit.autopsy.core.Installer.setTskTemp().
|
staticprivate |
Definition at line 69 of file Installer.java.
|
staticprivate |
Definition at line 75 of file Installer.java.
Referenced by org.sleuthkit.autopsy.core.Installer.isJavaFxInited().
|
staticprivate |
Definition at line 74 of file Installer.java.
|
private |
Definition at line 73 of file Installer.java.
|
staticprivate |
Definition at line 67 of file Installer.java.
|
staticprivate |
Definition at line 71 of file Installer.java.
Copyright © 2012-2024 Sleuth Kit Labs. Generated on: Mon Mar 17 2025
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.