Ldid: Difference between revisions

From iPhone Development Wiki
m (→‎Usage: Fix example missing binary)
m (→‎Usage: Fix example path)
Line 13: Line 13:
For example, if you wanted to add the entitlements in a file on your desktop named <code>Entitlements.xml</code> to <code>debugserver</code> in your current directory, you would run:
For example, if you wanted to add the entitlements in a file on your desktop named <code>Entitlements.xml</code> to <code>debugserver</code> in your current directory, you would run:


<code>ldid -S/Users/you/Desktop/Entitlements.xml ~/Desktop/debugserver</code>
<code>ldid -S/Users/you/Desktop/Entitlements.xml ./debugserver</code>


== Installation ==
== Installation ==

Revision as of 00:17, 1 June 2020


ldid is a tool made by saurik for modifying a binary's entitlements easily. ldid also generates SHA1 hashes for the binary signature, so the iPhone kernel executes the binary. The package name in Cydia is "Link Identity Editor", hosted by the Cydia/Telesphoreo repository.

Usage

ldid -e <binary> dumps the binary's entitlements.

ldid -Sent.xml <binary> sets the binary's entitlements, where ent.xml is the path to an entitlements file.

ldid -S <binary> pseudo-signs a binary with no entitlements.

For example, if you wanted to add the entitlements in a file on your desktop named Entitlements.xml to debugserver in your current directory, you would run:

ldid -S/Users/you/Desktop/Entitlements.xml ./debugserver

Installation

Via Brew or Fink, or from source:

git clone git://git.saurik.com/ldid.git
cd ldid
git submodule update --init
./make.sh
cp -f ./ldid $THEOS/bin/ldid

Mirrors

External links