Autopsy
4.17.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Static Public Member Functions | |
static String | extractDomain (String urlString) |
static String | getLocalHostName () |
Private Member Functions | |
NetworkUtils () | |
Static Private Member Functions | |
static String | getBaseDomain (String url) |
Static Private Attributes | |
static final Logger | logger = Logger.getLogger(NetworkUtils.class.getName()) |
Definition at line 28 of file NetworkUtils.java.
|
private |
Definition at line 32 of file NetworkUtils.java.
|
static |
Attempt to extract the domain from a URL. Will start by using the built-in URL class, and if that fails will try to extract it manually.
urlString | The URL to extract the domain from |
Definition at line 104 of file NetworkUtils.java.
References org.sleuthkit.autopsy.coreutils.NetworkUtils.getBaseDomain().
|
staticprivate |
Attempt to manually extract the domain from a URL.
url |
Definition at line 63 of file NetworkUtils.java.
Referenced by org.sleuthkit.autopsy.coreutils.NetworkUtils.extractDomain().
|
static |
Set the host name variable. Sometimes the network can be finicky, so the answer returned by getHostName() could throw an exception or be null. Have it read the environment variable if getHostName() is unsuccessful.
Definition at line 42 of file NetworkUtils.java.
Referenced by org.sleuthkit.autopsy.casemodule.SingleUserCaseConverter.copyResults(), org.sleuthkit.autopsy.casemodule.Case.createCaseDirectory(), org.sleuthkit.autopsy.casemodule.SingleUserCaseConverter.fixPaths(), and org.sleuthkit.autopsy.casemodule.Case.getOutputDirectory().
|
staticprivate |
Definition at line 30 of file NetworkUtils.java.
Copyright © 2012-2021 Basis Technology. Generated on: Tue Jan 19 2021
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.