dissect.target 3.11.dev7__py3-none-any.whl → 3.11.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.
@@ -77,7 +77,7 @@ class TargetdLoader(ProxyLoader):
77
77
  configuration = self.options.get(configurable)
78
78
  if not configuration:
79
79
  default_value = getattr(self, configurable)
80
- target.log.warning(f"{description} not configured, using: {configurable}={default_value}")
80
+ target.log.warning("%s not configured, using: %s=%s", description, configurable, default_value)
81
81
  else:
82
82
  setattr(self, configurable, value_type(configuration))
83
83
 
@@ -95,6 +95,7 @@ class TargetdLoader(ProxyLoader):
95
95
  raise ImportError("This loader requires the targetd package to be installed.")
96
96
 
97
97
  self.output = None
98
+ self.has_output = False
98
99
 
99
100
  if self.client is None:
100
101
  ssl_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
@@ -123,7 +124,7 @@ class TargetdLoader(ProxyLoader):
123
124
  self.client.command = plugin_func
124
125
  self.client.exec_command()
125
126
 
126
- while not self.output:
127
+ while not self.has_output:
127
128
  time.sleep(1)
128
129
  return self.output
129
130
 
@@ -159,5 +160,6 @@ if TARGETD_AVAILABLE:
159
160
  if not targetd.rpcs:
160
161
  targetd.easy_connect_remoting(remoting, link, caller.peers)
161
162
  func = getattr(targetd.rpcs, targetd.command)
163
+ caller.has_output = True
162
164
  caller.output = list(func())
163
165
  targetd.reset()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dissect.target
3
- Version: 3.11.dev7
3
+ Version: 3.11.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
@@ -75,7 +75,7 @@ dissect/target/loaders/res.py,sha256=2IAm-f83fvMUeK5J0g5jNVy2-24k8qKYijimcFvZ47I
75
75
  dissect/target/loaders/tanium.py,sha256=P9euiQzvVaQQtMQlEmNe0V25w1BkQFRZBuS-0-ksHpY,1585
76
76
  dissect/target/loaders/tar.py,sha256=orGSlP2hXXYx5Q2WIJy_XHE1iNwoC0yZJrHmXMwpFQ4,3025
77
77
  dissect/target/loaders/target.py,sha256=Bp3kcfW-ntkgDZ9IpYPMoR-4FDBPqcLD_W88Z9IU--o,692
78
- dissect/target/loaders/targetd.py,sha256=35uAQnC73RcnvRfFOQzLVO2m_grXXXCTQX29c1Zjcz8,6065
78
+ dissect/target/loaders/targetd.py,sha256=HEs6QE9S2dpd4X93c6r4RD7Z2ti5h9FkNNBsbRh_AZs,6139
79
79
  dissect/target/loaders/vb.py,sha256=CnQcn7bAkMzIB1y-lWLtPPXdIVsyeDaT6hTZEurjkV4,2072
80
80
  dissect/target/loaders/vbox.py,sha256=8JD7D8iAY9JRvTHsrosp5ZMsZezuLhZ10Zt8sEL7KBI,732
81
81
  dissect/target/loaders/velociraptor.py,sha256=4lwYIdirRTK1cXKzsDGOLrCS8BJ5vWE-exk6GFB5g0U,2784
@@ -271,10 +271,10 @@ dissect/target/volumes/bde.py,sha256=gYGg5yF9MNARwNzEkrEfZmKkxyZW4rhLkpdnPJCbhGk
271
271
  dissect/target/volumes/disk.py,sha256=95grSsPt1BLVpKwTclwQYzPFGKTkFFqapIk0RoGWf38,968
272
272
  dissect/target/volumes/lvm.py,sha256=_kIB1mdRs1OFhRgoT4VEP5Fv8imQnI7oQ_ie4x710tQ,1814
273
273
  dissect/target/volumes/vmfs.py,sha256=mlAJ8278tYaoRjk1u6tFFlCaDQUrVu5ZZE4ikiFvxi8,1707
274
- dissect.target-3.11.dev7.dist-info/COPYRIGHT,sha256=m-9ih2RVhMiXHI2bf_oNSSgHgkeIvaYRVfKTwFbnJPA,301
275
- dissect.target-3.11.dev7.dist-info/LICENSE,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
276
- dissect.target-3.11.dev7.dist-info/METADATA,sha256=FPwbw15Daxky2mOH5wr44KKZHbW8YCgZNqAF-mTraOU,10683
277
- dissect.target-3.11.dev7.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
278
- dissect.target-3.11.dev7.dist-info/entry_points.txt,sha256=tvFPa-Ap-gakjaPwRc6Fl6mxHzxEZ_arAVU-IUYeo_s,447
279
- dissect.target-3.11.dev7.dist-info/top_level.txt,sha256=Mn-CQzEYsAbkxrUI0TnplHuXnGVKzxpDw_po_sXpvv4,8
280
- dissect.target-3.11.dev7.dist-info/RECORD,,
274
+ dissect.target-3.11.dev9.dist-info/COPYRIGHT,sha256=m-9ih2RVhMiXHI2bf_oNSSgHgkeIvaYRVfKTwFbnJPA,301
275
+ dissect.target-3.11.dev9.dist-info/LICENSE,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
276
+ dissect.target-3.11.dev9.dist-info/METADATA,sha256=2WgywUT3mwQT3ixxsHVGDrbDAb4ihCyOw5lDkBJWa1A,10683
277
+ dissect.target-3.11.dev9.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
278
+ dissect.target-3.11.dev9.dist-info/entry_points.txt,sha256=tvFPa-Ap-gakjaPwRc6Fl6mxHzxEZ_arAVU-IUYeo_s,447
279
+ dissect.target-3.11.dev9.dist-info/top_level.txt,sha256=Mn-CQzEYsAbkxrUI0TnplHuXnGVKzxpDw_po_sXpvv4,8
280
+ dissect.target-3.11.dev9.dist-info/RECORD,,