Fix ldid detection, some readme improvements

This commit is contained in:
opa334 2022-10-09 15:11:15 +02:00
parent 37dcff4fcd
commit 788a009d61
3 changed files with 10 additions and 6 deletions

View File

@ -63,7 +63,7 @@ The binaries inside an IPA can have arbitary entitlements, fakesign them with ld
## Banned entitlements
iOS 15 on A12+ has banned the following three entitlements related to running unsigned code, these are impossible to get without a PPL or PAC bypass, apps signed with them will crash on launch.
iOS 15 on A12+ has banned the following three entitlements related to running unsigned code, these are impossible to get without a PPL bypass, apps signed with them will crash on launch.
`com.apple.private.cs.debugger`
@ -134,4 +134,6 @@ Afterwards you can use the [spawnRoot function in TSUtil.m](./Store/TSUtil.m#L39
[@LinusHenze](https://twitter.com/LinusHenze/) - Found the CoreTrust bug that allows TrollStore to work.
[Early Write-Up on the CoreTrust bug with more information](https://worthdoingbadly.com/coretrust/).
[Fugu15 Presentation](https://youtu.be/NIyKNjNNB5Q?t=3046)
[Write-Up on the CoreTrust bug with more information](https://worthdoingbadly.com/coretrust/).

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -e
if [ ! -d "./out" ]
@ -17,9 +17,9 @@ then
fi
IS_PROCURSUS_LDID=0
LDID_OUTPUT=$(ldid)
case "procursus" in
*$LDID_OUTPUT*)
{ LDID_OUTPUT="$( { ldid; } 2>&1 1>&3 3>&- )"; } 3>&1;
case "$LDID_OUTPUT" in
*"procursus"*)
IS_PROCURSUS_LDID=1
;;
esac

2
_compile/test.sh Executable file
View File

@ -0,0 +1,2 @@
{ LDID_OUTPUT="$( { ldid; } 2>&1 1>&3 3>&- )"; } 3>&1;
echo "aaa: $LDID_OUTPUT"