mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 07:56:16 +00:00
Reference 'extractDomain()' from ExtractIE class.
This commit is contained in:
parent
1180bdb1ba
commit
23c21b9f30
@ -128,7 +128,7 @@ class ExtractIE extends Extract {
|
|||||||
Long datetime = fav.getCrtime();
|
Long datetime = fav.getCrtime();
|
||||||
String Tempdate = datetime.toString();
|
String Tempdate = datetime.toString();
|
||||||
datetime = Long.valueOf(Tempdate);
|
datetime = Long.valueOf(Tempdate);
|
||||||
String domain = Util.extractDomain(url);
|
String domain = extractDomain(url);
|
||||||
|
|
||||||
Collection<BlackboardAttribute> bbattributes = new ArrayList<>();
|
Collection<BlackboardAttribute> bbattributes = new ArrayList<>();
|
||||||
bbattributes.add(new BlackboardAttribute(ATTRIBUTE_TYPE.TSK_URL,
|
bbattributes.add(new BlackboardAttribute(ATTRIBUTE_TYPE.TSK_URL,
|
||||||
@ -243,7 +243,7 @@ class ExtractIE extends Extract {
|
|||||||
Long datetime = cookiesFile.getCrtime();
|
Long datetime = cookiesFile.getCrtime();
|
||||||
String tempDate = datetime.toString();
|
String tempDate = datetime.toString();
|
||||||
datetime = Long.valueOf(tempDate);
|
datetime = Long.valueOf(tempDate);
|
||||||
String domain = Util.extractDomain(url);
|
String domain = extractDomain(url);
|
||||||
|
|
||||||
Collection<BlackboardAttribute> bbattributes = new ArrayList<>();
|
Collection<BlackboardAttribute> bbattributes = new ArrayList<>();
|
||||||
bbattributes.add(new BlackboardAttribute(ATTRIBUTE_TYPE.TSK_URL,
|
bbattributes.add(new BlackboardAttribute(ATTRIBUTE_TYPE.TSK_URL,
|
||||||
@ -492,7 +492,7 @@ class ExtractIE extends Extract {
|
|||||||
/*
|
/*
|
||||||
* Verify the left portion of the URL is valid.
|
* Verify the left portion of the URL is valid.
|
||||||
*/
|
*/
|
||||||
domain = Util.extractDomain(url[0]);
|
domain = extractDomain(url[0]);
|
||||||
|
|
||||||
if (domain != null && domain.isEmpty() == false) {
|
if (domain != null && domain.isEmpty() == false) {
|
||||||
/*
|
/*
|
||||||
@ -514,14 +514,14 @@ class ExtractIE extends Extract {
|
|||||||
realurl = realurl.replaceAll(":(.*?):", "");
|
realurl = realurl.replaceAll(":(.*?):", "");
|
||||||
realurl = realurl.replace(":Host:", ""); //NON-NLS
|
realurl = realurl.replace(":Host:", ""); //NON-NLS
|
||||||
realurl = realurl.trim();
|
realurl = realurl.trim();
|
||||||
domain = Util.extractDomain(realurl);
|
domain = extractDomain(realurl);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
/*
|
/*
|
||||||
* Use the entire input for the URL.
|
* Use the entire input for the URL.
|
||||||
*/
|
*/
|
||||||
realurl = lineBuff[1].trim();
|
realurl = lineBuff[1].trim();
|
||||||
domain = Util.extractDomain(realurl);
|
domain = extractDomain(realurl);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!actime.isEmpty()) {
|
if (!actime.isEmpty()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user