Skip to main content

pymobiledevice

GitHub license

pymobiledevice is a cross-platform implementation of the mobiledevice library that talks the protocols to support iPhone®, iPod Touch®, iPad® and Apple TV® devices.

Requirements

  • Python 2.7 and 3.x
  • M2Crypto
  • construct >= 2.9.29
  • pyasn1
  • future
  • six
  • biplist

Lockdownd.py [com.apple.lockownd]

This script can be used in order to pair with the device & starts other services.

/!\ Others services can only being accessed after succesful pairing. Succesful pairing requiert the device to be unlocked and user to click on "Trust this device" on its phone screen.

afc.py [com.apple.afc]

This service is responsible for things such as copying music and photos. AFC Clients like iTunes are allowed accessing to a “jailed” or limited area of the device filesystem. Actually, AFC clients can only access certain files, namely those located in the Media folder.

house_arrest.py [com.apple.mobile.house_arrest]

This service allows accessing to AppStore applications folders and their content. In other words, by using an AFC client, a user/attacker can download the application resources and data. It also includes the “default preferences” file where credentials are sometimes stored.

installation_proxy.py [com.apple.mobile.installation_proxy]

The installation proxy manages applications on a device. It allows execution of the following commands:

  • List installed applications
  • List archived applications
  • ...

mobilebackup.py & mobilebackup2.py [ com.apple.mobilebackup & com.apple.mobilebackup2 ]

Those services are used by iTunes to backup the device.

diagnostics_relay.py [com.apple.mobile.diagnostics_relay]

The diagnostic relay allows requesting iOS diagnostic information. The service handles the following actions:

  • [ Sleep ]Puts the device into deep sleep mode and disconnects from host.
  • [ Restart ] Restart the device and optionally show a user notification.
  • [ Shutdown ] Shutdown of the device and optionally show a user notification.
  • [ NAND, IORegistry, GasGauge, MobileGestalt ] Querry diagnostic informations.
  • ...

filerelay.py [com.apple.mobile.file_relay]

Depending of the iOS version, the file relay service may support the following commands: Accounts, AddressBook, AppleSupport, AppleTV, Baseband, Bluetooth, CrashReporter, CLTM Caches, CoreLocation, DataAccess, DataMigrator, demod, Device-o-Matic, EmbeddedSocial, FindMyiPhone GameKitLogs, itunesstored, IORegUSBDevice, HFSMeta, Keyboard, Lockdown, MapsLogs, MobileAsset, MobileBackup, MobileCal, MobileDelete, MobileInstallation, MobileMusicPlayer, MobileNotes, NANDDebugInfo Network, Photos, SafeHarbor, SystemConfiguration, tmp, Ubiquity, UserDatabases, VARFS, VPN, Voicemail WiFi, WirelessAutomation.

All the files returned by the iPhone are stored in clear text in a gziped CPIO archive.

pcapd.py [com.apple.pcapd]

Starting iOS 5, apple added a remote virtual interface (RVI) facility that allows mirroring networks trafic from an iOS device. On Mac OSX the virtual interface can be enabled with the rvictl command. This script allows to use this service on other systems.

Release files for pymobiledevice 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pymobiledevice 1.2.0
File Size Uploaded
pymobiledevice-1.2.0.tar.gz 50.2 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for pymobiledevice 1.2.0
File Interpreter ABI Platform
pymobiledevice-1.2.0-py3-none-any.whl Python 3 none any Details
pymobiledevice-1.2.0-py2.7.egg Legacy Egg format - - Details

Total release size: 6.0 MB

Release files / pymobiledevice-1.2.0.tar.gz

Download URL pymobiledevice-1.2.0.tar.gz
Size 50.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f7f3bf87252122d325fcd200929a59725536e3f8c6be1240adfa93826ec5946b
BLAKE2b-256 checksum
How to use checksums
65e1785912ae2207bad4201110afb5377f69d11718fea0a6e066643201a016db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

Release files / pymobiledevice-1.2.0-py3-none-any.whl

Download URL pymobiledevice-1.2.0-py3-none-any.whl
Size 84.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d2500dff8c066c39f20a0311001d8b53a06c42dff161f90a53c9abd11c5123a6
BLAKE2b-256 checksum
How to use checksums
cb139c67a79368c8713f59055f5de6550b147dceb7c4c2fa35b007cc5e057c99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

Release files / pymobiledevice-1.2.0-py2.7.egg

Download URL pymobiledevice-1.2.0-py2.7.egg
Size 5.8 MB
Tags Egg
SHA-256 checksum
How to use checksums
2f02a23661568053f50e3b34f42eaac1fef6f4cc7ae3c66b747428eb61d83c94
BLAKE2b-256 checksum
How to use checksums
0bbd98632cc3e82f220fd023627c2018325c18ae4d479f5339e5ccf7b97277b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

Release history Release notifications | RSS feed

This release

1.2.0 This release

3 release files

0.1.6

1 release file

0.1.5

1 release file

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

1 release file

0.0.4

2 release files

0.0.3

1 release file

0.0.2

1 release file

0.0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page