5 Commits
v1.4.3 ... 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
zx
04a40f2aa6 chore: bump version to v1.4.4 2025-02-15 09:15:23 -05:00
zx
6845281446 fix: unchecked /usr/lib dependencies
idk why i didnt do this before. either im stupid or there was a reason so im just praying this doesnt break anything rn
2025-02-15 09:14:55 -05:00
zx
54da4485a5 chore: change contact email 2025-02-01 21:52:05 -05:00
6 changed files with 16 additions and 7 deletions

3
.gitignore vendored
View File

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

View File

@@ -104,7 +104,7 @@ def main() -> None:
)
parser.add_argument(
"--version", action="version", version="cyan v1.4.3"
"--version", action="version", version="cyan v1.4.4"
)
from cyan import logic

Binary file not shown.

View File

@@ -13,7 +13,10 @@ class Executable:
otool = f"{specific}/otool"
idylib = f"{specific}/insert_dylib"
starters = ("\t/Library/", "\t@rpath", "\t@executable_path")
# adding /usr/lib/ now, idk why i didnt before. lets hope nothing breaks
## 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
# 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?")
def sign_with_entitlements(self, entitlements: str) -> bool:
return subprocess.run(
[self.ldid, f"-S{entitlements}", "-M", "-Cadhoc", self.path]
).returncode == 0
return subprocess.run([
self.ldid,
f"-S{entitlements}", "-M", "-Cadhoc",
f"-Q{self.install_dir}/extras/zero.requirements",
self.path
]).returncode == 0
def lief_inject(self, cmd: str) -> None:
if self.inj is None: # type: ignore

View File

@@ -4,10 +4,10 @@ from setuptools import setup
setup(
name="cyan",
version="1.4.3",
version="1.4.4",
description="finally, pyzule doesn't suck",
author="zx",
author_email="zx@hrzn.email",
author_email="z@zxcvbn.fyi",
packages=["cyan", "cyan.tbhtypes", "cgen"],
python_requires=">=3.9",
include_package_data=True,