dissect.target 3.20.2.dev19__py3-none-any.whl → 3.20.2.dev20__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/unix/log/journal.py +11 -2
- {dissect.target-3.20.2.dev19.dist-info → dissect.target-3.20.2.dev20.dist-info}/METADATA +1 -1
- {dissect.target-3.20.2.dev19.dist-info → dissect.target-3.20.2.dev20.dist-info}/RECORD +8 -8
- {dissect.target-3.20.2.dev19.dist-info → dissect.target-3.20.2.dev20.dist-info}/COPYRIGHT +0 -0
- {dissect.target-3.20.2.dev19.dist-info → dissect.target-3.20.2.dev20.dist-info}/LICENSE +0 -0
- {dissect.target-3.20.2.dev19.dist-info → dissect.target-3.20.2.dev20.dist-info}/WHEEL +0 -0
- {dissect.target-3.20.2.dev19.dist-info → dissect.target-3.20.2.dev20.dist-info}/entry_points.txt +0 -0
- {dissect.target-3.20.2.dev19.dist-info → dissect.target-3.20.2.dev20.dist-info}/top_level.txt +0 -0
@@ -315,9 +315,18 @@ class JournalFile:
|
|
315
315
|
offset = self.header.entry_array_offset
|
316
316
|
while offset != 0:
|
317
317
|
self.fh.seek(offset)
|
318
|
+
object_type = self.fh.read(1)[0]
|
318
319
|
|
319
|
-
if
|
320
|
-
|
320
|
+
if object_type == c_journal.ObjectType.OBJECT_UNUSED:
|
321
|
+
self.target.log.warning(
|
322
|
+
"ObjectType OBJECT_UNUSED encountered for next OBJECT_ENTRY_ARRAY offset at 0x%X. "
|
323
|
+
"This indicates allocated space in the journal file which is not used yet.",
|
324
|
+
offset,
|
325
|
+
)
|
326
|
+
break
|
327
|
+
|
328
|
+
elif object_type != c_journal.ObjectType.OBJECT_ENTRY_ARRAY:
|
329
|
+
raise ValueError(f"Expected OBJECT_ENTRY_ARRAY or OBJECT_UNUSED at offset {offset}")
|
321
330
|
|
322
331
|
if self.header.incompatible_flags & c_journal.IncompatibleFlag.HEADER_INCOMPATIBLE_COMPACT:
|
323
332
|
entry_array_object = c_journal.EntryArrayObject_Compact(self.fh)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: dissect.target
|
3
|
-
Version: 3.20.2.
|
3
|
+
Version: 3.20.2.dev20
|
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
|
@@ -272,7 +272,7 @@ dissect/target/plugins/os/unix/log/atop.py,sha256=zjG5eKS-X0mpBXs-Sg2f7RfQvtjt0T
|
|
272
272
|
dissect/target/plugins/os/unix/log/audit.py,sha256=rZwxC90Q0FOB5BZxplTJwCTIp0hdVpaps1e3C1fRYaM,3754
|
273
273
|
dissect/target/plugins/os/unix/log/auth.py,sha256=MNfPoGo_pGFMizbF5ZyW6bi-QWCxuaB7OVAeIJAAC6M,13068
|
274
274
|
dissect/target/plugins/os/unix/log/helpers.py,sha256=3_UNw36isxlmIRs0EreU4Oe5UrKOPl-mApjvfRXmYtQ,1775
|
275
|
-
dissect/target/plugins/os/unix/log/journal.py,sha256=
|
275
|
+
dissect/target/plugins/os/unix/log/journal.py,sha256=yqkJZz5A8FnICT9dmBDL_hZCR_W8J-vPz-mNWhiE50g,18229
|
276
276
|
dissect/target/plugins/os/unix/log/lastlog.py,sha256=Wr3-2n1-GwckN9mSx-yM55N6_L0PQyx6TGHoEvuc6c0,2515
|
277
277
|
dissect/target/plugins/os/unix/log/messages.py,sha256=GjHqbbyoqXxIlD6cxK552Gv00LK399dU3u9NISGIVno,5787
|
278
278
|
dissect/target/plugins/os/unix/log/utmp.py,sha256=k2A69s2qUT2JunJrH8GO6nQ0zMDotXMTaj8OzQ7ljj8,7336
|
@@ -384,10 +384,10 @@ dissect/target/volumes/luks.py,sha256=OmCMsw6rCUXG1_plnLVLTpsvE1n_6WtoRUGQbpmu1z
|
|
384
384
|
dissect/target/volumes/lvm.py,sha256=wwQVR9I3G9YzmY6UxFsH2Y4MXGBcKL9aayWGCDTiWMU,2269
|
385
385
|
dissect/target/volumes/md.py,sha256=7ShPtusuLGaIv27SvEETtgsuoQyAa4iAAeOR1NEaajI,1689
|
386
386
|
dissect/target/volumes/vmfs.py,sha256=-LoUbn9WNwTtLi_4K34uV_-wDw2W5hgaqxZNj4UmqAQ,1730
|
387
|
-
dissect.target-3.20.2.
|
388
|
-
dissect.target-3.20.2.
|
389
|
-
dissect.target-3.20.2.
|
390
|
-
dissect.target-3.20.2.
|
391
|
-
dissect.target-3.20.2.
|
392
|
-
dissect.target-3.20.2.
|
393
|
-
dissect.target-3.20.2.
|
387
|
+
dissect.target-3.20.2.dev20.dist-info/COPYRIGHT,sha256=m-9ih2RVhMiXHI2bf_oNSSgHgkeIvaYRVfKTwFbnJPA,301
|
388
|
+
dissect.target-3.20.2.dev20.dist-info/LICENSE,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
|
389
|
+
dissect.target-3.20.2.dev20.dist-info/METADATA,sha256=Xh9BV6ePzGHHJ7vBbCfvDhl3glgksX268sM4k1Jb9D0,13184
|
390
|
+
dissect.target-3.20.2.dev20.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
391
|
+
dissect.target-3.20.2.dev20.dist-info/entry_points.txt,sha256=yQwLCWUuzHgS6-sfCcRk66gAfoCfqXdCjqKjvhnQW8o,537
|
392
|
+
dissect.target-3.20.2.dev20.dist-info/top_level.txt,sha256=Mn-CQzEYsAbkxrUI0TnplHuXnGVKzxpDw_po_sXpvv4,8
|
393
|
+
dissect.target-3.20.2.dev20.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
{dissect.target-3.20.2.dev19.dist-info → dissect.target-3.20.2.dev20.dist-info}/entry_points.txt
RENAMED
File without changes
|
{dissect.target-3.20.2.dev19.dist-info → dissect.target-3.20.2.dev20.dist-info}/top_level.txt
RENAMED
File without changes
|