Skip to content

Instantly share code, notes, and snippets.

@lyonanderson
Created February 14, 2015 16:11
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lyonanderson/9c47f039cb695e0a9965 to your computer and use it in GitHub Desktop.
Save lyonanderson/9c47f039cb695e0a9965 to your computer and use it in GitHub Desktop.
Get the DigitalDevceID of a device connected to the lighting port without Jailbreak. See http://ramtin-amin.fr/#tristar for more info on IOAccessoryDigitalID
python -c "print '`idevicediagnostics ioreg IOAccessory | grep -A 2 IOAccessoryDigitalID | tail -1`'.strip().decode('base64').encode('hex')"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment