Autopsy
4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits Runnable.
Public Member Functions | |
void | run () |
Private Member Functions | |
void | upgradeConfig () |
Static Private Member Functions | |
static void | addCustomFile (Map< String, FilesSet > dest, FilesSet srcFilesSet) |
static void | copyOnNewer (Map< String, FilesSet > src, Map< String, FilesSet > dest) |
static void | copyOnNewer (Map< String, FilesSet > src, Map< String, FilesSet > dest, boolean appendCustom) |
static void | handleError (String message, Exception ex) |
static Map< String, FilesSet > | readStandardFileXML () throws FilesSetsManager.FilesSetsManagerException |
Static Private Attributes | |
static final String | CONFIG_DIR = "InterestingFileSetRules" |
static final FilenameFilter | DEFAULT_XML_FILTER |
static final Logger | LOGGER = Logger.getLogger(StandardInterestingFilesSetsLoader.class.getName()) |
When the interesting items module loads, this runnable loads standard interesting file set rules and performs upgrades.
Definition at line 41 of file StandardInterestingFilesSetsLoader.java.
|
staticprivate |
Adds an entry to the destination map where the name will be the same as the key with " (custom)" appended.
dest | The destination map. |
srcFilesSet | The FilesSet to append as custom. A non-readonly filesset must be provided. |
Definition at line 236 of file StandardInterestingFilesSetsLoader.java.
References org.sleuthkit.autopsy.modules.interestingitems.FilesSet.getName().
Referenced by org.sleuthkit.autopsy.modules.interestingitems.StandardInterestingFilesSetsLoader.copyOnNewer().
|
staticprivate |
Copies the entries in the src map to the destination map if the src item has a newer version than what is in dest or no equivalent entry exists within the dest map.
src | The source map. |
dest | The destination map. |
Definition at line 184 of file StandardInterestingFilesSetsLoader.java.
Referenced by org.sleuthkit.autopsy.modules.interestingitems.StandardInterestingFilesSetsLoader.readStandardFileXML(), and org.sleuthkit.autopsy.modules.interestingitems.StandardInterestingFilesSetsLoader.run().
|
staticprivate |
Copies the entries in the src map to the destination map if the src item has a newer version than what is in dest or no equivalent entry exists within the dest map.
src | The source map. |
dest | The destination map. |
appendCustom | On conflict, if one of the items is readonly and one is not, this flag can be set so the item that is not readonly will have " (custom)" appended. |
Definition at line 199 of file StandardInterestingFilesSetsLoader.java.
References org.sleuthkit.autopsy.modules.interestingitems.StandardInterestingFilesSetsLoader.addCustomFile().
|
staticprivate |
Responsible for handling top level exceptions and displaying to the user.
message | The message to display and log. |
ex | The exception (if any) to log. |
Definition at line 109 of file StandardInterestingFilesSetsLoader.java.
References org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Message.error(), and org.sleuthkit.autopsy.core.RuntimeProperties.runningWithGUI.
Referenced by org.sleuthkit.autopsy.modules.interestingitems.StandardInterestingFilesSetsLoader.run().
|
staticprivate |
Reads xml definitions for each file found in the standard interesting file set config directory and marks the files set as a standard interesting file if it isn't already.
Definition at line 123 of file StandardInterestingFilesSetsLoader.java.
References org.sleuthkit.autopsy.modules.interestingitems.StandardInterestingFilesSetsLoader.copyOnNewer(), and org.sleuthkit.autopsy.modules.interestingitems.FilesSet.getName().
Referenced by org.sleuthkit.autopsy.modules.interestingitems.StandardInterestingFilesSetsLoader.run().
void org.sleuthkit.autopsy.modules.interestingitems.StandardInterestingFilesSetsLoader.run | ( | ) |
Definition at line 60 of file StandardInterestingFilesSetsLoader.java.
References org.sleuthkit.autopsy.modules.interestingitems.StandardInterestingFilesSetsLoader.copyOnNewer(), org.sleuthkit.autopsy.modules.interestingitems.FilesSetsManager.getInstance(), org.sleuthkit.autopsy.modules.interestingitems.FilesSetsManager.getInterestingFilesSets(), org.sleuthkit.autopsy.modules.interestingitems.StandardInterestingFilesSetsLoader.handleError(), org.sleuthkit.autopsy.modules.interestingitems.StandardInterestingFilesSetsLoader.readStandardFileXML(), and org.sleuthkit.autopsy.modules.interestingitems.StandardInterestingFilesSetsLoader.upgradeConfig().
|
private |
Moves settings to new location.
Definition at line 95 of file StandardInterestingFilesSetsLoader.java.
References org.sleuthkit.autopsy.modules.interestingitems.FilesSetsManager.getInstance().
Referenced by org.sleuthkit.autopsy.modules.interestingitems.StandardInterestingFilesSetsLoader.run().
|
staticprivate |
Definition at line 45 of file StandardInterestingFilesSetsLoader.java.
|
staticprivate |
Definition at line 47 of file StandardInterestingFilesSetsLoader.java.
|
staticprivate |
Definition at line 43 of file StandardInterestingFilesSetsLoader.java.
Copyright © 2012-2022 Basis Technology. Generated on: Tue Jun 27 2023
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.