This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const LIBSYSTEM_KERNEL_PATH: string = '/usr/lib/system/libsystem_kernel.dylib'; | |
// https://github.com/apple-oss-distributions/xnu/blob/aca3beaa3dfbd42498b42c5e5ce20a938e6554e5/libsyscall/wrappers/spawn/posix_spawn.c#L2820-L2945 | |
const posix_spawn = new NativeFunction( | |
Module.getExportByName(LIBSYSTEM_KERNEL_PATH, 'posix_spawn'), | |
'int', | |
['pointer', 'pointer', 'pointer', 'pointer', 'pointer', 'pointer'], | |
); | |
// https://github.com/apple-oss-distributions/xnu/blob/aca3beaa3dfbd42498b42c5e5ce20a938e6554e5/libsyscall/wrappers/spawn/posix_spawn.c#L1415-L1455 | |
const posix_spawn_file_actions_init = new NativeFunction( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IOS_MINVER = 15.0 | |
IOS_CC := $(shell xcrun --sdk iphoneos -f clang) | |
IOS_CFLAGS := -Wall -Wextra -pipe -Oz -isysroot $(shell xcrun --sdk iphoneos --show-sdk-path) -miphoneos-version-min=$(IOS_MINVER) | |
IOS_LDFLAGS := -dynamiclib -install_name "@rpath/"$@ | |
TARGET = libTS2JailbreakEnv.dylib | |
.PHONY: sign clean | |
sign: $(TARGET) | |
@ldid -S $^ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Perform iOS and iPadOS downgrade using gaster and futurerestore. | |
set -e | |
BOLD=$(tput bold) | |
readonly BOLD | |
NC=$(tput sgr0) | |
readonly NC |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Build Frida DEB. | |
# register the cleanup function to be called on the EXIT signal | |
trap cleanup INT | |
####################################### | |
# Deletes the temp directory. | |
# Globals: |
OlderNewer