dissect.hypervisor.util.vmtar#

Module Contents#

Classes#

VisorTarInfo

Implements TarInfo for use with Visor Tar files (vmtar).

Functions#

class dissect.hypervisor.util.vmtar.VisorTarInfo(name='')#

Bases: tarfile.TarInfo

Implements TarInfo for use with Visor Tar files (vmtar).

The main difference is that file data is located at the end of the tar file, on an offset specified in the header.

classmethod frombuf(buf, encoding, errors)#

Construct a TarInfo object from a 512 byte bytes object.

dissect.hypervisor.util.vmtar.VisorTarFile(*args, **kwargs)#
dissect.hypervisor.util.vmtar.open(*args, **kwargs)#