TrollStore 1.2, new build setup, deprecate installers in favor of TrollHelperOTA, add jailbreak guide, add better version compatibility notes

This commit is contained in:
opa334
2022-10-11 22:57:08 +02:00
parent 7d79f2e938
commit 4850eb5a9e
223 changed files with 993 additions and 6196 deletions
+13
View File
@@ -0,0 +1,13 @@
# Victim Binary and Cert
In order to support user app installations (works on anything but iOS 14 arm64), TrollStore needs a victim binary that it attaches to any binary installed by it. By default it uses the binary of "Pastebin Mobile", because the dev of that app gave me permission to use that.
In order to compile a pwned TrollInstaller2 IPA, you need to provide a dev cert with the same team ID as your target app in this directory.
```bash
./make_cert.sh <TEAM_ID>
```
(Currently victim_gta.p12 is used by the build script, this works for GTA Car Tracker app, to use another app generate a new cert with the team ID and make sure to update the path in build script too)
((Disregard the user app stuff described above, it's not implemented yet, will be in TrollStore 2.0))
+34
View File
@@ -0,0 +1,34 @@
set -e
export PATH="/opt/homebrew/Cellar/openssl@3/3.0.5/bin:$PATH"
true && openssl req -newkey rsa:2048 -nodes -keyout root_key.pem -x509 -days 3650 -out root_certificate.pem \
-subj "/C=CA/O=TrollStore/OU=$1/CN=TrollStore iPhone Root CA" \
-addext "1.2.840.113635.100.6.2.18=DER:0500" \
-addext "basicConstraints=critical, CA:true" -addext "keyUsage=critical, digitalSignature, keyCertSign, cRLSign"
true && openssl req -newkey rsa:2048 -nodes -keyout codeca_key.pem -out codeca_certificate.csr \
-subj "/C=CA/O=TrollStore/OU=$1/CN=TrollStore iPhone Certification Authority" \
-addext "1.2.840.113635.100.6.2.18=DER:0500" \
-addext "basicConstraints=critical, CA:true" -addext "keyUsage=critical, keyCertSign, cRLSign"
true && openssl x509 -req -CAkey root_key.pem -CA root_certificate.pem -days 3650 \
-in codeca_certificate.csr -out codeca_certificate.pem -CAcreateserial -copy_extensions copyall
true && openssl req -newkey rsa:2048 -nodes -keyout dev_key.pem -out dev_certificate.csr \
-subj "/C=CA/O=TrollStore/OU=$1/CN=TrollStore iPhone OS Application Signing" \
-addext "basicConstraints=critical, CA:false" \
-addext "keyUsage = critical, digitalSignature" -addext "extendedKeyUsage = codeSigning" \
-addext "1.2.840.113635.100.6.1.3=DER:0500"
true && openssl x509 -req -CAkey codeca_key.pem -CA codeca_certificate.pem -days 3650 \
-in dev_certificate.csr -out dev_certificate.pem -CAcreateserial -copy_extensions copyall
true && cat codeca_certificate.pem root_certificate.pem >certificate_chain.pem
true && /usr/bin/openssl pkcs12 -export -in dev_certificate.pem -inkey dev_key.pem -certfile certificate_chain.pem \
-keypbe NONE -certpbe NONE -passout pass: \
-out victim.p12 -name "TrollStore iPhone OS Application Signing"
rm certificate_chain.pem
rm codeca_certificate.csr
rm codeca_certificate.pem
rm codeca_key.pem
rm dev_certificate.csr
rm dev_certificate.pem
rm dev_key.pem
rm root_certificate.pem
rm root_key.pem
Executable
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.