dissect.target 3.19.dev7__py3-none-any.whl → 3.19.dev9__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.
@@ -350,7 +350,7 @@ class FirefoxPlugin(BrowserPlugin):
350
350
 
351
351
  if not extension_file.exists():
352
352
  self.target.log.warning(
353
- "No 'extensions.json' addon file found for user %s in directory %s", user, profile_dir
353
+ "No 'extensions.json' addon file found for user %s in directory %s", user.user.name, profile_dir
354
354
  )
355
355
  continue
356
356
 
@@ -363,17 +363,17 @@ class FirefoxPlugin(BrowserPlugin):
363
363
  ts_update=extension.get("updateDate", 0) // 1000,
364
364
  browser="firefox",
365
365
  id=extension.get("id"),
366
- name=extension.get("defaultLocale", {}).get("name"),
366
+ name=(extension.get("defaultLocale", {}) or {}).get("name"),
367
367
  short_name=None,
368
368
  default_title=None,
369
- description=extension.get("defaultLocale", {}).get("description"),
369
+ description=(extension.get("defaultLocale", {}) or {}).get("description"),
370
370
  version=extension.get("version"),
371
371
  ext_path=extension.get("path"),
372
372
  from_webstore=None,
373
- permissions=extension.get("userPermissions", {}).get("permissions"),
373
+ permissions=(extension.get("userPermissions", {}) or {}).get("permissions"),
374
374
  manifest_version=extension.get("manifestVersion"),
375
375
  source_uri=extension.get("sourceURI"),
376
- optional_permissions=extension.get("optionalPermissions", {}).get("permissions"),
376
+ optional_permissions=(extension.get("optionalPermissions", {}) or {}).get("permissions"),
377
377
  source=extension_file,
378
378
  _target=self.target,
379
379
  _user=user.user,
@@ -381,7 +381,7 @@ class FirefoxPlugin(BrowserPlugin):
381
381
 
382
382
  except FileNotFoundError:
383
383
  self.target.log.info(
384
- "No 'extensions.json' addon file found for user %s in directory %s", user, profile_dir
384
+ "No 'extensions.json' addon file found for user %s in directory %s", user.user.name, profile_dir
385
385
  )
386
386
  except json.JSONDecodeError:
387
387
  self.target.log.warning(
@@ -202,8 +202,9 @@ class UnixPlugin(OSPlugin):
202
202
  fs_id = None
203
203
  fs_subvol = None
204
204
  fs_subvolid = None
205
- fs_volume_name = fs.volume.name if fs.volume and not isinstance(fs.volume, list) else None
206
205
  fs_last_mount = None
206
+ fs_volume_name = None
207
+ vol_volume_name = fs.volume.name if fs.volume and not isinstance(fs.volume, list) else None
207
208
 
208
209
  if fs.__type__ == "xfs":
209
210
  fs_id = fs.xfs.uuid
@@ -224,8 +225,9 @@ class UnixPlugin(OSPlugin):
224
225
 
225
226
  if (
226
227
  (fs_id and (fs_id == dev_id and (subvol == fs_subvol or subvolid == fs_subvolid)))
227
- or (fs_volume_name and (fs_volume_name == volume_name))
228
228
  or (fs_last_mount and (fs_last_mount == mount_point))
229
+ or (fs_volume_name and (fs_volume_name == volume_name))
230
+ or (vol_volume_name and (vol_volume_name == volume_name))
229
231
  ):
230
232
  self.target.log.debug("Mounting %s (%s) at %s", fs, fs.volume, mount_point)
231
233
  self.target.fs.mount(mount_point, fs)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dissect.target
3
- Version: 3.19.dev7
3
+ Version: 3.19.dev9
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
@@ -124,7 +124,7 @@ dissect/target/plugins/apps/browser/browser.py,sha256=rBIwcgdl73gm-8APwx2jEUAYXR
124
124
  dissect/target/plugins/apps/browser/chrome.py,sha256=hxS8gqpBwoCrPaxNpllIa6K9DtsSGzn6XXcUaHyes6w,3048
125
125
  dissect/target/plugins/apps/browser/chromium.py,sha256=N9hS-a45iEv_GyKhLZQR_FSkEjWlMA0f22eURBuxF5Y,27999
126
126
  dissect/target/plugins/apps/browser/edge.py,sha256=woXzZtHPWmfcV8vbxGKHELKru5JRb32MAXs43_b4K4E,2883
127
- dissect/target/plugins/apps/browser/firefox.py,sha256=ROrzhI2SV81E63hi5PRtyJveRrBacWNJ9FWZS_ondlk,30929
127
+ dissect/target/plugins/apps/browser/firefox.py,sha256=3Ucp85DXTDyCofW1_aEzjba_Pr0QyC4F5gX8NqY-uOg,30981
128
128
  dissect/target/plugins/apps/browser/iexplore.py,sha256=g_xw0toaiyjevxO8g9XPCOqc-CXZp39FVquRhPFGdTE,8801
129
129
  dissect/target/plugins/apps/container/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
130
130
  dissect/target/plugins/apps/container/docker.py,sha256=KxQRbKGgxkf3YFBMa7fjeJ7qo8qjFys7zEmfQhDTnLw,15305
@@ -184,7 +184,7 @@ dissect/target/plugins/general/scrape.py,sha256=Fz7BNXflvuxlnVulyyDhLpyU8D_hJdH6
184
184
  dissect/target/plugins/general/users.py,sha256=cQXPQ2XbkPjckCPHYTUW4JEhYN0_CT8JI8hJPZn3qSs,3030
185
185
  dissect/target/plugins/os/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
186
186
  dissect/target/plugins/os/unix/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
187
- dissect/target/plugins/os/unix/_os.py,sha256=hsJN_3vxHWhzysBis4VCU1MhIzZf11mspBwN1WHvZuY,14160
187
+ dissect/target/plugins/os/unix/_os.py,sha256=VQHx8PDhJ0NHzNuo3RIN3DGXkLqpGXbQe8M5ZbtI5nM,14277
188
188
  dissect/target/plugins/os/unix/cronjobs.py,sha256=2ssj97UVJueyATVl7NMJmqd9uHflQ2tXUqdOCFIEje8,3182
189
189
  dissect/target/plugins/os/unix/datetime.py,sha256=gKfBdPyUirt3qmVYfOJ1oZXRPn8wRzssbZxR_ARrtk8,1518
190
190
  dissect/target/plugins/os/unix/etc.py,sha256=HoPEC1hxqurSnAXQAK-jf_HxdBIDe-1z_qSw_n-ViI4,258
@@ -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.dev7.dist-info/COPYRIGHT,sha256=m-9ih2RVhMiXHI2bf_oNSSgHgkeIvaYRVfKTwFbnJPA,301
349
- dissect.target-3.19.dev7.dist-info/LICENSE,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
350
- dissect.target-3.19.dev7.dist-info/METADATA,sha256=Nnzl_TGD3KnPIsxQNALkjqUPqSwXdm787MGm4ukIauU,12718
351
- dissect.target-3.19.dev7.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
352
- dissect.target-3.19.dev7.dist-info/entry_points.txt,sha256=tvFPa-Ap-gakjaPwRc6Fl6mxHzxEZ_arAVU-IUYeo_s,447
353
- dissect.target-3.19.dev7.dist-info/top_level.txt,sha256=Mn-CQzEYsAbkxrUI0TnplHuXnGVKzxpDw_po_sXpvv4,8
354
- dissect.target-3.19.dev7.dist-info/RECORD,,
348
+ dissect.target-3.19.dev9.dist-info/COPYRIGHT,sha256=m-9ih2RVhMiXHI2bf_oNSSgHgkeIvaYRVfKTwFbnJPA,301
349
+ dissect.target-3.19.dev9.dist-info/LICENSE,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
350
+ dissect.target-3.19.dev9.dist-info/METADATA,sha256=KEe0VA16uLpcnxc2VQZNgkYTYZqRACn7KzWzU_sesx0,12718
351
+ dissect.target-3.19.dev9.dist-info/WHEEL,sha256=FZ75kcLy9M91ncbIgG8dnpCncbiKXSRGJ_PFILs6SFg,91
352
+ dissect.target-3.19.dev9.dist-info/entry_points.txt,sha256=tvFPa-Ap-gakjaPwRc6Fl6mxHzxEZ_arAVU-IUYeo_s,447
353
+ dissect.target-3.19.dev9.dist-info/top_level.txt,sha256=Mn-CQzEYsAbkxrUI0TnplHuXnGVKzxpDw_po_sXpvv4,8
354
+ dissect.target-3.19.dev9.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (70.2.0)
2
+ Generator: setuptools (71.0.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5