dissect.target 3.19.dev1__py3-none-any.whl → 3.19.dev2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- dissect/target/plugins/os/unix/esxi/_os.py +12 -6
- {dissect.target-3.19.dev1.dist-info → dissect.target-3.19.dev2.dist-info}/METADATA +1 -1
- {dissect.target-3.19.dev1.dist-info → dissect.target-3.19.dev2.dist-info}/RECORD +8 -8
- {dissect.target-3.19.dev1.dist-info → dissect.target-3.19.dev2.dist-info}/COPYRIGHT +0 -0
- {dissect.target-3.19.dev1.dist-info → dissect.target-3.19.dev2.dist-info}/LICENSE +0 -0
- {dissect.target-3.19.dev1.dist-info → dissect.target-3.19.dev2.dist-info}/WHEEL +0 -0
- {dissect.target-3.19.dev1.dist-info → dissect.target-3.19.dev2.dist-info}/entry_points.txt +0 -0
- {dissect.target-3.19.dev1.dist-info → dissect.target-3.19.dev2.dist-info}/top_level.txt +0 -0
@@ -17,9 +17,14 @@ from dissect.sql import sqlite3
|
|
17
17
|
from dissect.target.helpers.fsutil import TargetPath
|
18
18
|
|
19
19
|
try:
|
20
|
-
from dissect.hypervisor.util.envelope import
|
20
|
+
from dissect.hypervisor.util.envelope import (
|
21
|
+
HAS_PYCRYPTODOME,
|
22
|
+
HAS_PYSTANDALONE,
|
23
|
+
Envelope,
|
24
|
+
KeyStore,
|
25
|
+
)
|
21
26
|
|
22
|
-
HAS_ENVELOPE =
|
27
|
+
HAS_ENVELOPE = HAS_PYCRYPTODOME or HAS_PYSTANDALONE
|
23
28
|
except ImportError:
|
24
29
|
HAS_ENVELOPE = False
|
25
30
|
|
@@ -70,7 +75,8 @@ class ESXiPlugin(UnixPlugin):
|
|
70
75
|
|
71
76
|
def _cfg(self, path: str) -> Optional[str]:
|
72
77
|
if not self._config:
|
73
|
-
|
78
|
+
self.target.log.warning("No ESXi config!")
|
79
|
+
return None
|
74
80
|
|
75
81
|
value_name = path.strip("/").split("/")[-1]
|
76
82
|
obj = _traverse(path, self._config)
|
@@ -95,13 +101,13 @@ class ESXiPlugin(UnixPlugin):
|
|
95
101
|
def create(cls, target: Target, sysvol: Filesystem) -> ESXiPlugin:
|
96
102
|
cfg = parse_boot_cfg(sysvol.path("boot.cfg").open("rt"))
|
97
103
|
|
104
|
+
# Mount all the visor tars in individual filesystem layers
|
105
|
+
_mount_modules(target, sysvol, cfg)
|
106
|
+
|
98
107
|
# Create a root layer for the "local state" filesystem
|
99
108
|
# This stores persistent configuration data
|
100
109
|
local_layer = target.fs.append_layer()
|
101
110
|
|
102
|
-
# Mount all the visor tars in individual filesystem layers
|
103
|
-
_mount_modules(target, sysvol, cfg)
|
104
|
-
|
105
111
|
# Mount the local.tgz to the local state layer
|
106
112
|
_mount_local(target, local_layer)
|
107
113
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: dissect.target
|
3
|
-
Version: 3.19.
|
3
|
+
Version: 3.19.dev2
|
4
4
|
Summary: This module ties all other Dissect modules together, it provides a programming API and command line tools which allow easy access to various data sources inside disk images or file collections (a.k.a. targets)
|
5
5
|
Author-email: Dissect Team <dissect@fox-it.com>
|
6
6
|
License: Affero General Public License v3
|
@@ -208,7 +208,7 @@ dissect/target/plugins/os/unix/bsd/osx/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JC
|
|
208
208
|
dissect/target/plugins/os/unix/bsd/osx/_os.py,sha256=KvP7YJ7apVwoIop7MR-8q5QbVGoB6MdR42l6ssEe6es,4081
|
209
209
|
dissect/target/plugins/os/unix/bsd/osx/user.py,sha256=qopB0s3n7e6Q7NjWzn8Z-dKtDtU7e6In4Vm7hIvvedo,2322
|
210
210
|
dissect/target/plugins/os/unix/esxi/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
211
|
-
dissect/target/plugins/os/unix/esxi/_os.py,sha256=
|
211
|
+
dissect/target/plugins/os/unix/esxi/_os.py,sha256=JOJ6j57vFCojgBNkju-7MG2nQqwl4Qc-agXTwjhZPgY,17644
|
212
212
|
dissect/target/plugins/os/unix/etc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
213
213
|
dissect/target/plugins/os/unix/etc/etc.py,sha256=ZyuMfP1QKA2_l8XQVu5CLex049MVFre3Yru5otiAqpE,2531
|
214
214
|
dissect/target/plugins/os/unix/linux/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -345,10 +345,10 @@ dissect/target/volumes/luks.py,sha256=OmCMsw6rCUXG1_plnLVLTpsvE1n_6WtoRUGQbpmu1z
|
|
345
345
|
dissect/target/volumes/lvm.py,sha256=wwQVR9I3G9YzmY6UxFsH2Y4MXGBcKL9aayWGCDTiWMU,2269
|
346
346
|
dissect/target/volumes/md.py,sha256=j1K1iKmspl0C_OJFc7-Q1BMWN2OCC5EVANIgVlJ_fIE,1673
|
347
347
|
dissect/target/volumes/vmfs.py,sha256=-LoUbn9WNwTtLi_4K34uV_-wDw2W5hgaqxZNj4UmqAQ,1730
|
348
|
-
dissect.target-3.19.
|
349
|
-
dissect.target-3.19.
|
350
|
-
dissect.target-3.19.
|
351
|
-
dissect.target-3.19.
|
352
|
-
dissect.target-3.19.
|
353
|
-
dissect.target-3.19.
|
354
|
-
dissect.target-3.19.
|
348
|
+
dissect.target-3.19.dev2.dist-info/COPYRIGHT,sha256=m-9ih2RVhMiXHI2bf_oNSSgHgkeIvaYRVfKTwFbnJPA,301
|
349
|
+
dissect.target-3.19.dev2.dist-info/LICENSE,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
|
350
|
+
dissect.target-3.19.dev2.dist-info/METADATA,sha256=8ZAfE4mjiIJsSWyLx6PmXtP3R43fOvhJTPzWRwgk-Zw,12718
|
351
|
+
dissect.target-3.19.dev2.dist-info/WHEEL,sha256=mguMlWGMX-VHnMpKOjjQidIo1ssRlCFu4a4mBpz1s2M,91
|
352
|
+
dissect.target-3.19.dev2.dist-info/entry_points.txt,sha256=tvFPa-Ap-gakjaPwRc6Fl6mxHzxEZ_arAVU-IUYeo_s,447
|
353
|
+
dissect.target-3.19.dev2.dist-info/top_level.txt,sha256=Mn-CQzEYsAbkxrUI0TnplHuXnGVKzxpDw_po_sXpvv4,8
|
354
|
+
dissect.target-3.19.dev2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|