Difference between revisions of "Ldid"

From iPhone Development Wiki
Jump to: navigation, search
(Ldid is used for modifying a binary's entitlements.)
 
m (Usage: Fix example path)
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
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 -e dumps the binary's entitlements.
+
{{DISPLAYTITLE:ldid}}
  
ldid -Sent.xml
+
'''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.
  
sets the binary's entitlements. For compiling ldid easily, refer to https://github.com/rpetrich/ldid.
+
== Usage ==
 +
 
 +
<code>ldid -e <binary></code> dumps the binary's entitlements.
 +
 
 +
<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 ./debugserver</code>
 +
 
 +
== Installation ==
 +
 
 +
Via Brew or Fink, or from source:
 +
 
 +
<pre>git clone git://git.saurik.com/ldid.git
 +
cd ldid
 +
git submodule update --init
 +
./make.sh
 +
cp -f ./ldid $THEOS/bin/ldid</pre>
 +
 
 +
=== Mirrors ===
 +
 
 +
* http://ac3xx.com/ldid
 +
* http://joedj.net/ldid
 +
* http://jontelang.com/guide/chapter2/ldid.html
 +
 
 +
== External links ==
 +
 
 +
* [[Code Signing]] - community maintained version of saurik's original article on ldid
 +
* Source: http://gitweb.saurik.com/ldid.git (git://git.saurik.com/ldid.git)

Latest 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