2 Commits
v1.4.4 ... dev

Author SHA1 Message Date
zx
740d3716dc chore: start satisfying Designated Requirement
the ipas are now more demure

this shouldnt break nor add anything i mean
2025-03-18 19:00:40 -04:00
zx
5ce7a0cb43 fix: unchecked @loader_path dependency
fuck this
2025-02-17 08:22:13 -05:00
4 changed files with 12 additions and 4 deletions

3
.gitignore vendored
View File

@@ -6,3 +6,6 @@ build/
*.cyan *.cyan
.DS_Store .DS_Store
*.ipa
*.app/

Binary file not shown.

View File

@@ -14,7 +14,9 @@ class Executable:
idylib = f"{specific}/insert_dylib" idylib = f"{specific}/insert_dylib"
# adding /usr/lib/ now, idk why i didnt before. lets hope nothing breaks # adding /usr/lib/ now, idk why i didnt before. lets hope nothing breaks
starters = ("\t/Library/", "\t/usr/lib/", "\t@rpath", "\t@executable_path") ## LITERALLY 2 DAYS LATER. WHAT THE FUCK IS @LOADER_PATH HELP
## i will cry if only checking for '@' will break this.
starters = ("\t/Library/", "\t/usr/lib/", "\t@")
# substrate could show up as # substrate could show up as
# CydiaSubstrate.framework, libsubstrate.dylib, EVEN CydiaSubstrate.dylib # CydiaSubstrate.framework, libsubstrate.dylib, EVEN CydiaSubstrate.dylib

View File

@@ -137,9 +137,12 @@ class MainExecutable(Executable):
print("[!] failed to merge new entitlements, are they valid?") print("[!] failed to merge new entitlements, are they valid?")
def sign_with_entitlements(self, entitlements: str) -> bool: def sign_with_entitlements(self, entitlements: str) -> bool:
return subprocess.run( return subprocess.run([
[self.ldid, f"-S{entitlements}", "-M", "-Cadhoc", self.path] self.ldid,
).returncode == 0 f"-S{entitlements}", "-M", "-Cadhoc",
f"-Q{self.install_dir}/extras/zero.requirements",
self.path
]).returncode == 0
def lief_inject(self, cmd: str) -> None: def lief_inject(self, cmd: str) -> None:
if self.inj is None: # type: ignore if self.inj is None: # type: ignore