RSS

Extracting Entitlements from iOS applications

July 11

Entitlements defines the specific capabilities or permissions of an applications.

On a Jailbroken iPhone, entitlements of an iOS application can be extracted with ldid tool. On recent iOS versions ldid was broken and not working properly against appstore binaries. Entitlements are usually embedded in the binary file. So we can use grep or sed commands to extract the entitlements from app binary.

Below command lists out the entitlements of Twitter application.

sed -n '/<dict>/,/<\/dict>/p' Twitter

Output:

<dict>
<key>application-identifier</key>
 <string>8248RGMF2D.com.atebits.Tweetie2</string>
 <key>aps-environment</key>
 <string>production</string>
 <key>keychain-access-groups</key>
 <array>
 <string>8248RGMF2D.com.atebits.Tweetie2</string>
 </array>
</dict>
 

Posted by on July 11, 2012 in iPhone

Leave a comment

Tags: , ,

Leave a Reply

Your email address will not be published. Required fields are marked *