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.

is_visor: bool
offset_data: int | None
textPgs: int | None
fixUpPgs: int | None
classmethod frombuf(buf: bytes, encoding: str, errors: str) VisorTarInfo

Construct a TarInfo object from a 512 byte bytes object.

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