Autopsy
4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits CacheLoader< DomainSearchThumbnailRequest, Image >.
Public Member Functions | |
DomainSearchThumbnailLoader () | |
Image | load (DomainSearchThumbnailRequest thumbnailRequest) throws TskCoreException, DiscoveryException, InterruptedException |
Private Member Functions | |
void | addIfSupported (List< AbstractFile > files, Content sourceContent) |
List< AbstractFile > | getCandidatesFromWebCache (SleuthkitCase caseDb, List< BlackboardArtifact > artifacts) throws TskCoreException, InterruptedException |
List< AbstractFile > | getCandidatesFromWebDownloads (SleuthkitCase caseDb, List< BlackboardArtifact > artifacts) throws TskCoreException, InterruptedException |
boolean | isIco (AbstractFile file) |
Private Attributes | |
final DomainSearchArtifactsCache | artifactsCache |
Static Private Attributes | |
static final String | ICO_EXTENSION = "ico" |
static final List< String > | ICO_MIMETYPES = Arrays.asList("image/vnd.microsoft.icon", "image/x-icon") |
static final List< String > | SUPPORTED_EXTENSIONS = Arrays.asList("jpg", "svg", "png", "webp", "ico", "gif") |
static final List< String > | SUPPORTED_MIMETYPES |
static final String | UNSUPPORTED_IMAGE = "org/sleuthkit/autopsy/images/image-extraction-not-supported.png" |
Loads a thumbnail for the given request. Thumbnail candidates types are defined below. These candidates types must be the source of either TSK_WEB_DOWNLOAD or TSK_WEB_CACHE artifacts that match the domain name (see the DomainSearch getArtifacts() API). Candidate files are sorted by most recent if sourced from TSK_WEB_DOWNLOADs and by size if sourced from TSK_WEB_CACHE artifacts. The first suitable thumbnail is selected.
Definition at line 49 of file DomainSearchThumbnailLoader.java.
org.sleuthkit.autopsy.discovery.search.DomainSearchThumbnailLoader.DomainSearchThumbnailLoader | ( | ) |
Construct a new DomainSearchThumbnailLoader.
Definition at line 63 of file DomainSearchThumbnailLoader.java.
|
private |
Checks if the candidate source content is indeed a supported type.
files | The list of source content files which are supported. |
sourceContent | The source content to check and possibly add. |
Definition at line 201 of file DomainSearchThumbnailLoader.java.
Referenced by org.sleuthkit.autopsy.discovery.search.DomainSearchThumbnailLoader.getCandidatesFromWebCache(), and org.sleuthkit.autopsy.discovery.search.DomainSearchThumbnailLoader.getCandidatesFromWebDownloads().
|
private |
Finds all supported image files from TSK_WEB_CACHE instances.
caseDb | The case database being searched. |
artifacts | The list of artifacts to get images from. |
Definition at line 179 of file DomainSearchThumbnailLoader.java.
References org.sleuthkit.autopsy.discovery.search.DomainSearchThumbnailLoader.addIfSupported().
Referenced by org.sleuthkit.autopsy.discovery.search.DomainSearchThumbnailLoader.load().
|
private |
Finds all supported image files from TSK_WEB_DOWNLOAD instances.
caseDb | The case database being searched. |
artifacts | The list of artifacts to search. |
TskCoreException |
Definition at line 153 of file DomainSearchThumbnailLoader.java.
References org.sleuthkit.autopsy.discovery.search.DomainSearchThumbnailLoader.addIfSupported().
Referenced by org.sleuthkit.autopsy.discovery.search.DomainSearchThumbnailLoader.load().
|
private |
Definition at line 165 of file DomainSearchThumbnailLoader.java.
Referenced by org.sleuthkit.autopsy.discovery.search.DomainSearchThumbnailLoader.load().
Image org.sleuthkit.autopsy.discovery.search.DomainSearchThumbnailLoader.load | ( | DomainSearchThumbnailRequest | thumbnailRequest | ) | throws TskCoreException, DiscoveryException, InterruptedException |
Definition at line 79 of file DomainSearchThumbnailLoader.java.
References org.sleuthkit.autopsy.discovery.search.DomainSearchArtifactsCache.get(), org.sleuthkit.autopsy.discovery.search.DomainSearchThumbnailLoader.getCandidatesFromWebCache(), org.sleuthkit.autopsy.discovery.search.DomainSearchThumbnailLoader.getCandidatesFromWebDownloads(), org.sleuthkit.autopsy.coreutils.ImageUtils.getDefaultThumbnail(), org.sleuthkit.autopsy.coreutils.ImageUtils.getThumbnail(), and org.sleuthkit.autopsy.discovery.search.DomainSearchThumbnailLoader.isIco().
|
private |
Definition at line 58 of file DomainSearchThumbnailLoader.java.
|
staticprivate |
Definition at line 56 of file DomainSearchThumbnailLoader.java.
|
staticprivate |
Definition at line 57 of file DomainSearchThumbnailLoader.java.
|
staticprivate |
Definition at line 52 of file DomainSearchThumbnailLoader.java.
|
staticprivate |
Definition at line 53 of file DomainSearchThumbnailLoader.java.
|
staticprivate |
Definition at line 51 of file DomainSearchThumbnailLoader.java.
Copyright © 2012-2022 Basis Technology. Generated on: Mon Mar 20 2023
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.