pymobiledevice3 4.21.5__py3-none-any.whl → 4.21.8__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.
Potentially problematic release.
This version of pymobiledevice3 might be problematic. Click here for more details.
- pymobiledevice3/_version.py +2 -2
- pymobiledevice3/remote/tunnel_service.py +6 -8
- {pymobiledevice3-4.21.5.dist-info → pymobiledevice3-4.21.8.dist-info}/METADATA +3 -5
- {pymobiledevice3-4.21.5.dist-info → pymobiledevice3-4.21.8.dist-info}/RECORD +8 -8
- {pymobiledevice3-4.21.5.dist-info → pymobiledevice3-4.21.8.dist-info}/WHEEL +0 -0
- {pymobiledevice3-4.21.5.dist-info → pymobiledevice3-4.21.8.dist-info}/entry_points.txt +0 -0
- {pymobiledevice3-4.21.5.dist-info → pymobiledevice3-4.21.8.dist-info}/licenses/LICENSE +0 -0
- {pymobiledevice3-4.21.5.dist-info → pymobiledevice3-4.21.8.dist-info}/top_level.txt +0 -0
pymobiledevice3/_version.py
CHANGED
|
@@ -21,7 +21,6 @@ from socket import create_connection
|
|
|
21
21
|
from ssl import VerifyMode
|
|
22
22
|
from typing import Optional, TextIO, cast
|
|
23
23
|
|
|
24
|
-
import aiofiles
|
|
25
24
|
from construct import Const, Container
|
|
26
25
|
from construct import Enum as ConstructEnum
|
|
27
26
|
from construct import GreedyBytes, GreedyRange, Int8ul, Int16ub, Int64ul, Prefixed, Struct
|
|
@@ -161,12 +160,11 @@ class RemotePairingTunnel(ABC):
|
|
|
161
160
|
read_size = self.tun.mtu + len(LOOPBACK_HEADER)
|
|
162
161
|
try:
|
|
163
162
|
if sys.platform != 'win32':
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
await self.send_packet_to_device(packet)
|
|
163
|
+
while True:
|
|
164
|
+
packet = await asyncio.to_thread(self.tun.read, read_size)
|
|
165
|
+
assert packet.startswith(LOOPBACK_HEADER)
|
|
166
|
+
packet = packet[len(LOOPBACK_HEADER):]
|
|
167
|
+
await self.send_packet_to_device(packet)
|
|
170
168
|
else:
|
|
171
169
|
while True:
|
|
172
170
|
packet = await self.tun.async_read()
|
|
@@ -311,13 +309,13 @@ class RemotePairingTcpTunnel(RemotePairingTunnel):
|
|
|
311
309
|
self._sock_read_task.cancel()
|
|
312
310
|
with suppress(CancelledError):
|
|
313
311
|
await self._sock_read_task
|
|
312
|
+
await super().stop_tunnel()
|
|
314
313
|
if not self._writer.is_closing():
|
|
315
314
|
self._writer.close()
|
|
316
315
|
try:
|
|
317
316
|
await self._writer.wait_closed()
|
|
318
317
|
except OSError:
|
|
319
318
|
pass
|
|
320
|
-
await super().stop_tunnel()
|
|
321
319
|
|
|
322
320
|
|
|
323
321
|
@dataclasses.dataclass
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pymobiledevice3
|
|
3
|
-
Version: 4.21.
|
|
3
|
+
Version: 4.21.8
|
|
4
4
|
Summary: Pure python3 implementation for working with iDevices (iPhone, etc...)
|
|
5
5
|
Author-email: doronz88 <doron88@gmail.com>, matan <matan1008@gmail.com>
|
|
6
6
|
Maintainer-email: doronz88 <doron88@gmail.com>, matan <matan1008@gmail.com>
|
|
7
|
-
License:
|
|
7
|
+
License-Expression: GPL-3.0-or-later
|
|
8
8
|
Project-URL: Homepage, https://github.com/doronz88/pymobiledevice3
|
|
9
9
|
Project-URL: Bug Reports, https://github.com/doronz88/pymobiledevice3/issues
|
|
10
10
|
Keywords: ios,protocol,lockdownd,instruments,automation,cli,afc
|
|
11
11
|
Classifier: Development Status :: 5 - Production/Stable
|
|
12
|
-
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
|
|
13
12
|
Classifier: Programming Language :: Python :: 3
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.9
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.10
|
|
@@ -58,8 +57,7 @@ Requires-Dist: qh3<2,>=1.0.0
|
|
|
58
57
|
Requires-Dist: developer_disk_image>=0.0.2
|
|
59
58
|
Requires-Dist: opack2
|
|
60
59
|
Requires-Dist: psutil
|
|
61
|
-
Requires-Dist: pytun-pmd3>=2.
|
|
62
|
-
Requires-Dist: aiofiles
|
|
60
|
+
Requires-Dist: pytun-pmd3>=2.2.2
|
|
63
61
|
Requires-Dist: prompt_toolkit
|
|
64
62
|
Requires-Dist: sslpsk-pmd3>=1.0.3; python_version < "3.13"
|
|
65
63
|
Requires-Dist: python-pcapng>=2.1.1
|
|
@@ -8,7 +8,7 @@ misc/understanding_idevice_protocol_layers.md,sha256=8tEqRXWOUPoxOJLZVh7C7H9JGCh
|
|
|
8
8
|
misc/usbmux_sniff.sh,sha256=iWtbucOEQ9_UEFXk9x-2VNt48Jg5zrPsnUbZ_LfZxwA,212
|
|
9
9
|
pymobiledevice3/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
10
|
pymobiledevice3/__main__.py,sha256=nwUgfXBMii2MSXLUls2uMTG88uC13s4haPBM4LuGcaU,11530
|
|
11
|
-
pymobiledevice3/_version.py,sha256=
|
|
11
|
+
pymobiledevice3/_version.py,sha256=fN2o3W2zI_Gu2Ba3jnR9bIOjM9Nc67Zbt1_9YRVZe1s,513
|
|
12
12
|
pymobiledevice3/bonjour.py,sha256=FXa_x0Zdo6ims7N7F61hnnZEyn1tc2it3mQpHRMY0Kk,5560
|
|
13
13
|
pymobiledevice3/ca.py,sha256=Ho0NaOtATe5hdruUSlVDRpfR9ltEYXjL3MoKwEvEJjw,2296
|
|
14
14
|
pymobiledevice3/common.py,sha256=-PG6oaUkNFlB3jb7E0finMrX8wqhkS-cuTAfmLvZUmc,329
|
|
@@ -60,7 +60,7 @@ pymobiledevice3/remote/module_imports.py,sha256=DwExSL1r4kkFIWmXiQpqPo-cGl4duYd3
|
|
|
60
60
|
pymobiledevice3/remote/remote_service.py,sha256=fCyzm4oT_WEorAXVHVLYnIOyTOuMGhX69Co3HkUdRYY,867
|
|
61
61
|
pymobiledevice3/remote/remote_service_discovery.py,sha256=iqPE1PiDDB2ISK-ThuUPEiSU9ETZ-FGTcANhb6MrWmo,7156
|
|
62
62
|
pymobiledevice3/remote/remotexpc.py,sha256=KbFHaH4D3RnaATve6kaIpJMHNF8H-kdhbRbEbxFmO6w,8082
|
|
63
|
-
pymobiledevice3/remote/tunnel_service.py,sha256=
|
|
63
|
+
pymobiledevice3/remote/tunnel_service.py,sha256=zVg9t7Z_zzK4Rav8Xn_UEanIXTzBvcjEsd_-bBYs1CE,46451
|
|
64
64
|
pymobiledevice3/remote/utils.py,sha256=BgUODRwkET5lyloZxJ-PrVZqTvyOlBuJ-MM7OCSqZ9g,2506
|
|
65
65
|
pymobiledevice3/remote/xpc_message.py,sha256=-nVbf88ZN4ZNxLg6cOq4FfeKXYAoVRKnwGdfe7s-sZE,9336
|
|
66
66
|
pymobiledevice3/remote/core_device/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -164,9 +164,9 @@ pymobiledevice3/services/web_protocol/switch_to.py,sha256=hDddJUEePbRN-8xlllOeGh
|
|
|
164
164
|
pymobiledevice3/tunneld/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
165
165
|
pymobiledevice3/tunneld/api.py,sha256=EfGKXEWhsMSB__menPmRmL9R6dpazVJDUy7B3pn05MM,2357
|
|
166
166
|
pymobiledevice3/tunneld/server.py,sha256=SvC57AV_R8YQhA0fCwGNUdhfy8TKMFWwL_fp_FmXrBI,22715
|
|
167
|
-
pymobiledevice3-4.21.
|
|
168
|
-
pymobiledevice3-4.21.
|
|
169
|
-
pymobiledevice3-4.21.
|
|
170
|
-
pymobiledevice3-4.21.
|
|
171
|
-
pymobiledevice3-4.21.
|
|
172
|
-
pymobiledevice3-4.21.
|
|
167
|
+
pymobiledevice3-4.21.8.dist-info/licenses/LICENSE,sha256=jOtLnuWt7d5Hsx6XXB2QxzrSe2sWWh3NgMfFRetluQM,35147
|
|
168
|
+
pymobiledevice3-4.21.8.dist-info/METADATA,sha256=h_9eBcjfSZGl0bJX0v8IUvZ82Vqhei3jwImCKKWPRIM,17366
|
|
169
|
+
pymobiledevice3-4.21.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
170
|
+
pymobiledevice3-4.21.8.dist-info/entry_points.txt,sha256=jJMlOanHlVwUxcY__JwvKeWPrvBJr_wJyEq4oHIZNKE,66
|
|
171
|
+
pymobiledevice3-4.21.8.dist-info/top_level.txt,sha256=MjZoRqcWPOh5banG-BbDOnKEfsS3kCxqV9cv-nzyg2Q,21
|
|
172
|
+
pymobiledevice3-4.21.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|