dissect.thumbcache.thumbcache_file#

Module Contents#

Classes#

Attributes#

dissect.thumbcache.thumbcache_file.UNKNOWN_BYTES = 8#
class dissect.thumbcache.thumbcache_file.ThumbcacheFile(fh: BinaryIO)#
property header: dissect.cstruct.Structure#
property version: dissect.thumbcache.util.ThumbnailType#
__slots__ = ['fh', '_header', 'signature', 'type', 'size', 'offset', '_entries', '_cached_entries']#

This class defines a thumbcache file, that is usually denoted by thumbcache_*.db. Which is is different from the thumbcache_idx.db.

Parameters:

fh – A file-like object.

__getitem__(key: int) ThumbcacheEntry#
__getattribute__(__name: str) Any#

Return getattr(self, name).

entries() list[ThumbcacheEntry]#
class dissect.thumbcache.thumbcache_file.ThumbcacheEntry(fh: BinaryIO, type: dissect.thumbcache.util.ThumbnailType)#
property hash: str#
property extension: str#

This property contains the extension type of the data (Only in VISTA).

property data: bytes#
__repr__()#

Return repr(self).