dissect.target 3.11.2.dev40__py3-none-any.whl → 3.11.2.dev42__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -98,7 +98,7 @@ class Container(io.IOBase):
98
98
  """
99
99
  raise NotImplementedError()
100
100
 
101
- def read(self, length: int) -> bytes:
101
+ def read(self, length: int = -1) -> bytes:
102
102
  """Read a ``length`` of bytes from this ``Container``."""
103
103
  raise NotImplementedError()
104
104
 
@@ -1447,5 +1447,6 @@ register("fat", "FatFilesystem")
1447
1447
  register("ffs", "FfsFilesystem")
1448
1448
  register("vmfs", "VmfsFilesystem")
1449
1449
  register("exfat", "ExfatFilesystem")
1450
- register("ad1", "AD1Filesystem")
1451
1450
  register("squashfs", "SquashFSFilesystem")
1451
+ register("zip", "ZipFilesystem")
1452
+ register("ad1", "AD1Filesystem")
@@ -416,7 +416,7 @@ class AmcachePlugin(AmcachePluginOldMixin, Plugin):
416
416
  program_instance_id=entry_data.get("ProgramInstanceId"),
417
417
  publisher=entry_data.get("Publisher"),
418
418
  registry_key_path=entry_data.get("RegistryKeyPath"),
419
- root_dir_path=entry_data.get("RootDirPath"),
419
+ root_dir_path=path.from_windows(entry_data.get("RootDirPath")),
420
420
  source=entry_data.get("Source"),
421
421
  uninstall_string=entry_data.get("UninstallString"),
422
422
  type=entry_data.get("Type"),
dissect/target/volume.py CHANGED
@@ -278,7 +278,7 @@ class Volume(io.IOBase):
278
278
  def __repr__(self) -> str:
279
279
  return f"<Volume name={self.name!r} size={self.size!r} fs={self.fs!r}>"
280
280
 
281
- def read(self, length: int) -> bytes:
281
+ def read(self, length: int = -1) -> bytes:
282
282
  """Read a ``length`` of bytes from this ``Volume``."""
283
283
  return self.fh.read(length)
284
284
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dissect.target
3
- Version: 3.11.2.dev40
3
+ Version: 3.11.2.dev42
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
@@ -1,12 +1,12 @@
1
1
  dissect/target/__init__.py,sha256=Oc7ounTgq2hE4nR6YcNabetc7SQA40ldSa35VEdZcQU,63
2
- dissect/target/container.py,sha256=R8M9EE7DqKq8DeMuekcpR1nxtZ827zuqmTmO4s7PYkg,7730
2
+ dissect/target/container.py,sha256=GMe7c6nqOsbv8l-HmMK1L-GcHJt2hD_mgK_R2xB4PHY,7735
3
3
  dissect/target/exceptions.py,sha256=VVW_Rq_vQinapz-2mbJ3UkxBEZpb2pE_7JlhMukdtrY,2877
4
- dissect/target/filesystem.py,sha256=41ie89j1xOSVZ2oiQPRNmEOjxkqwRv3ohLa8-_Zcolw,49342
4
+ dissect/target/filesystem.py,sha256=HoHawHVvszUrkX2doj9aCHV88fBhWJkfCFX6EXGlBpE,49375
5
5
  dissect/target/loader.py,sha256=523L67jyJd2JEv2LI3asqzcWHaXwtMKRURApMPnLrhQ,7185
6
6
  dissect/target/plugin.py,sha256=Bnub70AaPt5rGw59sdV-W11-03KPcCd3x_fo0uNcEbc,39814
7
7
  dissect/target/report.py,sha256=06uiP4MbNI8cWMVrC1SasNS-Yg6ptjVjckwj8Yhe0Js,7958
8
8
  dissect/target/target.py,sha256=83RapSMII5god0iSrADohFEZ7zgIdovBLi64AY0Skm0,29359
9
- dissect/target/volume.py,sha256=PPqHi5WBQN7mn4podEpnioY7ycgySYQKR-Yfve2pc4Y,15164
9
+ dissect/target/volume.py,sha256=hQdcSABJa3C3d8lNA_CnhA8iFDi_-fkIQ6hp-NRqp4w,15169
10
10
  dissect/target/containers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  dissect/target/containers/asdf.py,sha256=g8omgyCvXBPd6ZZ1TKmaHNfzfs7W1HqmAsEAdDaXYLk,1398
12
12
  dissect/target/containers/ewf.py,sha256=waG6_VOXFis8d9bxyHJCBXFbLWUfkTshHRAEqoiQEqo,1425
@@ -214,7 +214,7 @@ dissect/target/plugins/os/windows/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeR
214
214
  dissect/target/plugins/os/windows/_os.py,sha256=-a1fdUU0Kl4k2spTskJ3LOJP7MadB-8nkBw6edxbUDc,12106
215
215
  dissect/target/plugins/os/windows/activitiescache.py,sha256=yY41YdCZk9e97Q8_rjZHknMUeOVDxgBG9VtXQHANUsQ,6710
216
216
  dissect/target/plugins/os/windows/adpolicy.py,sha256=rvsvywChfms7d2kMwXRVHZaf8zJ46WmMwYplGAYEax8,6984
217
- dissect/target/plugins/os/windows/amcache.py,sha256=zZ9dGtuxZ7M3e-0pmrk8Yv9JgQo0YTAwvJ1wgiYxhYU,27191
217
+ dissect/target/plugins/os/windows/amcache.py,sha256=HdgvgEN5Bue8fg_i6tvJINkMHO86N9HugtqvOIs4fto,27210
218
218
  dissect/target/plugins/os/windows/catroot.py,sha256=RYYVRCNDzX6ahrMwx6CMnhNue2fQRXbpodiT2wxmc7Q,5183
219
219
  dissect/target/plugins/os/windows/cim.py,sha256=mVu2RipJNFc90r4nCpMr4xs5XZK7Mbglh5e1_fkU9fY,3001
220
220
  dissect/target/plugins/os/windows/clfs.py,sha256=begVsZ-CY97Ksh6S1g03LjyBgu8ERY2hfNDWYPj0GXI,4872
@@ -289,10 +289,10 @@ dissect/target/volumes/disk.py,sha256=95grSsPt1BLVpKwTclwQYzPFGKTkFFqapIk0RoGWf3
289
289
  dissect/target/volumes/lvm.py,sha256=1SrkhsufqJYPjMTZdBsudg-6yCCz1dooi9O-7ENLYnA,1818
290
290
  dissect/target/volumes/md.py,sha256=N-rxdAeTWR-f5LpwnP4RQZSHP4rzZSo45JMHn8F6Cp8,1652
291
291
  dissect/target/volumes/vmfs.py,sha256=mlAJ8278tYaoRjk1u6tFFlCaDQUrVu5ZZE4ikiFvxi8,1707
292
- dissect.target-3.11.2.dev40.dist-info/COPYRIGHT,sha256=m-9ih2RVhMiXHI2bf_oNSSgHgkeIvaYRVfKTwFbnJPA,301
293
- dissect.target-3.11.2.dev40.dist-info/LICENSE,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
294
- dissect.target-3.11.2.dev40.dist-info/METADATA,sha256=3hiu9YxPFgziiHLdxGHIpqxngjQFBClsuuSI4xsK66w,10978
295
- dissect.target-3.11.2.dev40.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
296
- dissect.target-3.11.2.dev40.dist-info/entry_points.txt,sha256=tvFPa-Ap-gakjaPwRc6Fl6mxHzxEZ_arAVU-IUYeo_s,447
297
- dissect.target-3.11.2.dev40.dist-info/top_level.txt,sha256=Mn-CQzEYsAbkxrUI0TnplHuXnGVKzxpDw_po_sXpvv4,8
298
- dissect.target-3.11.2.dev40.dist-info/RECORD,,
292
+ dissect.target-3.11.2.dev42.dist-info/COPYRIGHT,sha256=m-9ih2RVhMiXHI2bf_oNSSgHgkeIvaYRVfKTwFbnJPA,301
293
+ dissect.target-3.11.2.dev42.dist-info/LICENSE,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
294
+ dissect.target-3.11.2.dev42.dist-info/METADATA,sha256=zuHvlqdukTeZQQyzz3Uh_hMnffjEiSAc4UgCh-CNdpQ,10978
295
+ dissect.target-3.11.2.dev42.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
296
+ dissect.target-3.11.2.dev42.dist-info/entry_points.txt,sha256=tvFPa-Ap-gakjaPwRc6Fl6mxHzxEZ_arAVU-IUYeo_s,447
297
+ dissect.target-3.11.2.dev42.dist-info/top_level.txt,sha256=Mn-CQzEYsAbkxrUI0TnplHuXnGVKzxpDw_po_sXpvv4,8
298
+ dissect.target-3.11.2.dev42.dist-info/RECORD,,