dissect.target 3.9.dev17__py3-none-any.whl → 3.9.dev18__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- dissect/target/plugins/os/windows/registry.py +15 -6
- {dissect.target-3.9.dev17.dist-info → dissect.target-3.9.dev18.dist-info}/METADATA +1 -1
- {dissect.target-3.9.dev17.dist-info → dissect.target-3.9.dev18.dist-info}/RECORD +8 -8
- {dissect.target-3.9.dev17.dist-info → dissect.target-3.9.dev18.dist-info}/COPYRIGHT +0 -0
- {dissect.target-3.9.dev17.dist-info → dissect.target-3.9.dev18.dist-info}/LICENSE +0 -0
- {dissect.target-3.9.dev17.dist-info → dissect.target-3.9.dev18.dist-info}/WHEEL +0 -0
- {dissect.target-3.9.dev17.dist-info → dissect.target-3.9.dev18.dist-info}/entry_points.txt +0 -0
- {dissect.target-3.9.dev17.dist-info → dissect.target-3.9.dev18.dist-info}/top_level.txt +0 -0
@@ -98,6 +98,10 @@ class RegistryPlugin(Plugin):
|
|
98
98
|
if not bcd.exists():
|
99
99
|
continue
|
100
100
|
|
101
|
+
if bcd.stat().st_size == 0:
|
102
|
+
self.target.log.warning("Empty BCD hive: %s", bcd)
|
103
|
+
continue
|
104
|
+
|
101
105
|
try:
|
102
106
|
hf = RegfHive(bcd)
|
103
107
|
self.add_hive("BCD", hf, bcd)
|
@@ -116,7 +120,11 @@ class RegistryPlugin(Plugin):
|
|
116
120
|
user = user_details.user
|
117
121
|
ntuser = user_details.home_path.joinpath("ntuser.dat")
|
118
122
|
|
119
|
-
if ntuser.exists():
|
123
|
+
if not ntuser.exists():
|
124
|
+
self.target.log.debug("Could not find ntuser.dat: %s", ntuser)
|
125
|
+
elif ntuser.stat().st_size == 0:
|
126
|
+
self.target.log.warning("Empty NTUSER.DAT hive: %s", ntuser)
|
127
|
+
else:
|
120
128
|
try:
|
121
129
|
ntuserhive = RegfHive(ntuser)
|
122
130
|
self.add_hive(user.sid, ntuserhive, ntuser)
|
@@ -126,11 +134,14 @@ class RegistryPlugin(Plugin):
|
|
126
134
|
self._hives_to_users[ntuserhive] = user_details
|
127
135
|
except Exception as e:
|
128
136
|
self.target.log.warning("Could not open ntuser.dat: %s", ntuser, exc_info=e)
|
129
|
-
else:
|
130
|
-
self.target.log.debug("Could not find ntuser.dat: %s", ntuser)
|
131
137
|
|
132
138
|
usrclass = user_details.home_path.joinpath("AppData/Local/Microsoft/Windows/usrclass.dat")
|
133
|
-
|
139
|
+
|
140
|
+
if not usrclass.exists():
|
141
|
+
self.target.log.debug("Could not find usrclass.dat: %s", usrclass)
|
142
|
+
elif usrclass.stat().st_size == 0:
|
143
|
+
self.target.log.warning("Empty UsrClass.DAT hive: %s", usrclass)
|
144
|
+
else:
|
134
145
|
try:
|
135
146
|
usr_class_hive = RegfHive(usrclass)
|
136
147
|
self.add_hive(f"{user.sid}_Classes", usr_class_hive, usrclass)
|
@@ -140,8 +151,6 @@ class RegistryPlugin(Plugin):
|
|
140
151
|
self._hives_to_users[usr_class_hive] = user_details
|
141
152
|
except Exception as e:
|
142
153
|
self.target.log.warning("Could not open usrclass.dat: %s", usrclass, exc_info=e)
|
143
|
-
else:
|
144
|
-
self.target.log.debug("Could not find usrclass.dat: %s", usrclass)
|
145
154
|
|
146
155
|
self._users_loaded = True
|
147
156
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: dissect.target
|
3
|
-
Version: 3.9.
|
3
|
+
Version: 3.9.dev18
|
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
|
@@ -200,7 +200,7 @@ dissect/target/plugins/os/windows/locale.py,sha256=YlRqFteHGSE-A21flbCKP1jXUTgyX
|
|
200
200
|
dissect/target/plugins/os/windows/notifications.py,sha256=tBgZKnDCXWFtz7chHIo5cKQf2swcTTB3MMcecfTZ-4w,4773
|
201
201
|
dissect/target/plugins/os/windows/prefetch.py,sha256=favUyI5Pywi8Ho8fUye3gnXcM9BqEIMhFcSa1idQQBg,10304
|
202
202
|
dissect/target/plugins/os/windows/recyclebin.py,sha256=aqp1kc8A6k5UTt6ebycuejPd0QJwNIX1xIu21M0CUGU,4926
|
203
|
-
dissect/target/plugins/os/windows/registry.py,sha256=
|
203
|
+
dissect/target/plugins/os/windows/registry.py,sha256=ToES2n1Uhb6c65uKjxCr01gX9_AwWEvnhOPJKz-8C80,10426
|
204
204
|
dissect/target/plugins/os/windows/sam.py,sha256=0wJIQbYLZ6kVM0U1nSIh8c2pHYW-z3wWfgZ1ZPeqZnQ,15787
|
205
205
|
dissect/target/plugins/os/windows/services.py,sha256=p2v4z4YM-K3G2cnWIHVyPgsJgfrlDpvXz7gUvltIUD4,6059
|
206
206
|
dissect/target/plugins/os/windows/sru.py,sha256=4Vybz3_RJYNbLZXKYGOouUKZNWyOUSgSTf4JAGN2O7w,16808
|
@@ -256,10 +256,10 @@ dissect/target/volumes/bde.py,sha256=gYGg5yF9MNARwNzEkrEfZmKkxyZW4rhLkpdnPJCbhGk
|
|
256
256
|
dissect/target/volumes/disk.py,sha256=95grSsPt1BLVpKwTclwQYzPFGKTkFFqapIk0RoGWf38,968
|
257
257
|
dissect/target/volumes/lvm.py,sha256=zXAfszxNR6tOGrKAtAa_E-JhjI-sXQyR4VYLXD-kqCw,1616
|
258
258
|
dissect/target/volumes/vmfs.py,sha256=mlAJ8278tYaoRjk1u6tFFlCaDQUrVu5ZZE4ikiFvxi8,1707
|
259
|
-
dissect.target-3.9.
|
260
|
-
dissect.target-3.9.
|
261
|
-
dissect.target-3.9.
|
262
|
-
dissect.target-3.9.
|
263
|
-
dissect.target-3.9.
|
264
|
-
dissect.target-3.9.
|
265
|
-
dissect.target-3.9.
|
259
|
+
dissect.target-3.9.dev18.dist-info/COPYRIGHT,sha256=m-9ih2RVhMiXHI2bf_oNSSgHgkeIvaYRVfKTwFbnJPA,301
|
260
|
+
dissect.target-3.9.dev18.dist-info/LICENSE,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
|
261
|
+
dissect.target-3.9.dev18.dist-info/METADATA,sha256=i583ZR2F-YfmeJJE-G0ZYQt49YMFInseprhhpl_zvg0,9752
|
262
|
+
dissect.target-3.9.dev18.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
263
|
+
dissect.target-3.9.dev18.dist-info/entry_points.txt,sha256=tvFPa-Ap-gakjaPwRc6Fl6mxHzxEZ_arAVU-IUYeo_s,447
|
264
|
+
dissect.target-3.9.dev18.dist-info/top_level.txt,sha256=Mn-CQzEYsAbkxrUI0TnplHuXnGVKzxpDw_po_sXpvv4,8
|
265
|
+
dissect.target-3.9.dev18.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|