Skip to main content

python implementation for libimobiledevice library

Project description

pymobiledevice

GitHub license Build Status PyPi version

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymobiledevice-qta-1.1.4.tar.gz (46.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pymobiledevice_qta-1.1.4-py2.7.egg (64.9 kB view details)

Uploaded Egg

pymobiledevice_qta-1.1.4-py2-none-any.whl (78.9 kB view details)

Uploaded Python 2

File details

Details for the file pymobiledevice-qta-1.1.4.tar.gz.

File metadata

  • Download URL: pymobiledevice-qta-1.1.4.tar.gz
  • Upload date:
  • Size: 46.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.15

File hashes

Hashes for pymobiledevice-qta-1.1.4.tar.gz
Algorithm Hash digest
SHA256 500a50ffaa5ece55aead51cad1f1256c86a81bfb7863efea665307b8a628f207
MD5 dc821eccb10d69cf988d0cf527e90b20
BLAKE2b-256 709f730e3bf94ce3bc09294129a2e66d2cb15baa9281e2022fb613efb6912fed

See more details on using hashes here.

File details

Details for the file pymobiledevice_qta-1.1.4-py2.7.egg.

File metadata

  • Download URL: pymobiledevice_qta-1.1.4-py2.7.egg
  • Upload date:
  • Size: 64.9 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.15

File hashes

Hashes for pymobiledevice_qta-1.1.4-py2.7.egg
Algorithm Hash digest
SHA256 a36b69ffd7ac95efae91ef77607787731cae7c0ce217a60fed02d1bb2e63b746
MD5 6739f6d4152c9caf479472905894bc17
BLAKE2b-256 8103d07d8761d2cec99398e3df2e3761dbab9e3e0da35f6167225b3579cdc0c2

See more details on using hashes here.

File details

Details for the file pymobiledevice_qta-1.1.4-py2-none-any.whl.

File metadata

  • Download URL: pymobiledevice_qta-1.1.4-py2-none-any.whl
  • Upload date:
  • Size: 78.9 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.15

File hashes

Hashes for pymobiledevice_qta-1.1.4-py2-none-any.whl
Algorithm Hash digest
SHA256 739d739218103bb16afc6d97642231176c59e8ce149bc65318064eeaf4743485
MD5 927da4487ae13f963d5f98ba7fad53e1
BLAKE2b-256 022b4d1dae992685390d9002cd69a260c3bf2823038bcc94a161699359a8a60a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page