Difference between revisions of "Ldid"

From iPhone Development Wiki
Jump to: navigation, search
m (Installation instructions.)
m (Make usage syntax more clear)
Line 1: Line 1:
 
{{DISPLAYTITLE:ldid}}
 
{{DISPLAYTITLE:ldid}}
  
'''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.
+
'''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.
  
<code>ldid -e</code> dumps the binary's entitlements.
+
== Usage ==
  
<code>ldid -Sent.xml</code> sets the binary's entitlements.
+
<code>ldid -e <binary></code> dumps the binary's entitlements.  
  
The package name in Cydia is "Link Identity Editor", hosted by the Cydia/Telesphoreo repository.
+
<code>ldid -Sent.xml <binary></code> sets the binary's entitlements, where <code>ent.xml</code> is the path to an entitlements file.
 +
 
 +
<code>ldid -S <binary></code> pseudo-signs a binary with no entitlements.
 +
 
 +
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</code>
  
 
== Installation ==
 
== Installation ==

Revision as of 19:36, 31 March 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

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