dissect.target.plugins.child.vmware_workstation

Module Contents

Classes

VmwareWorkstationChildTargetPlugin

Child target plugin that yields from VMware Workstation VM inventory.

Functions

find_vm_inventory

Search for inventory.vmls files in user home folders.

Attributes

dissect.target.plugins.child.vmware_workstation.INVENTORY_PATHS = ['AppData/Roaming/VMware/inventory.vmls', '.vmware/inventory.vmls']
dissect.target.plugins.child.vmware_workstation.find_vm_inventory(target: dissect.target.target.Target) Iterator[dissect.target.helpers.fsutil.TargetPath]

Search for inventory.vmls files in user home folders.

Does not support older vmAutoStart.xml or vmInventory.xml formats.

class dissect.target.plugins.child.vmware_workstation.VmwareWorkstationChildTargetPlugin(target: dissect.target.target.Target)

Bases: dissect.target.plugin.ChildTargetPlugin

Child target plugin that yields from VMware Workstation VM inventory.

__type__ = 'vmware_workstation'
inventories
check_compatible() None

Perform a compatibility check with the target.

This function should return None if the plugin is compatible with the current target (self.target). For example, check if a certain file exists. Otherwise it should raise an UnsupportedPluginError.

Raises:

UnsupportedPluginError – If the plugin could not be loaded.

list_children() Iterator[dissect.target.helpers.record.ChildTargetRecord]

Yield ChildTargetRecord records of all possible child targets on this target.