FSUntether icon indicating copy to clipboard operation
FSUntether copied to clipboard

cannot build 3

Open Ixolaro opened this issue 1 year ago • 0 comments

tried running as root, normal user everything but i just cant log:

___________ __  __      __       __  __

/ / // / / / / / / // / ___ _____ / /_ __ / / / / __ / / _ / / __ / _ / / / __/ / / // / / / / // __/ // / / / __/ / // //_// //__/_/_// /_/__/_/ by Ingan121

Fucking Simple Untethered code execution PoC for iOS 15, 16, and 17 Untether is fully supported on iOS 15, 16, and 17 with BFU code execution. (AFU code execution is supported on iOS 14) Unsandboxing method varies per version; please see the options below.

Preparing...

Please select an unsandboxing method.

  1. Fully unsandboxed code execution with CVE-2022-26766 (permasigning) and FSUntetherGUI
  • Supported versions: 15.0-15.4.1, 15.5b1-b4, 15.6b1-b5 (AFU supported on 14)
  1. Semi-unsandboxed code execution (filesystem access only) with CVE-2022-26766 (permasigning)
  • Supported versions: same as 1)
  1. Semi-unsandboxed code execution (filesystem access only) with CVE-2022-46689 (MacDirtyCow)
  • Supported versions: 15.0-15.7.1, 16.0-16.1.2 (14 and below are NOT supported)
  1. Sandboxed code execution (no filesystem access; untether only)
  • Supported versions: 15.0-17.0DB1 (AFU supported on 14)

Selection: 3

Building iDownload... Apple clang version 14.0.0 (clang-1400.0.29.202) Target: arm64-apple-darwin21.6.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin clang: warning: argument unused during compilation: '-isysroot /Users/malo/theos/sdks/iPhoneOS14.5.sdk' [-Wunused-command-line-argument] ../iDownload/build_mdc.sh:7: permission denied: Exploit/vm_unaligned_copy_switch_race.c Apple clang version 14.0.0 (clang-1400.0.29.202) Target: arm64-apple-darwin21.6.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1 -triple arm64-apple-ios14.5.0 -Wundef-prefix=TARGET_OS_ -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -Werror=implicit-function-declaration -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name helpers.m -mrelocation-model pic -pic-level 2 -mframe-pointer=non-leaf -fno-strict-return -fno-rounding-math -funwind-tables=2 -fobjc-msgsend-selector-stubs -target-sdk-version=14.5 -fvisibility-inlines-hidden-static-local-var -target-cpu apple-a7 -target-feature +fp-armv8 -target-feature +neon -target-feature +crypto -target-feature +zcm -target-feature +zcz -target-feature +sha2 -target-feature +aes -target-abi darwinpcs -fallow-half-arguments-and-returns -debugger-tuning=lldb -target-linker-version 820.1 -v -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0 -isysroot /Users/malo/theos/sdks/iPhoneOS14.5.sdk -internal-isystem /Users/malo/theos/sdks/iPhoneOS14.5.sdk/usr/local/include -internal-isystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include -internal-externc-isystem /Users/malo/theos/sdks/iPhoneOS14.5.sdk/usr/include -internal-externc-isystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-final-dtor-non-final-class -Wno-extra-semi-stmt -Wno-misleading-indentation -Wno-quoted-include-in-framework-header -Wno-implicit-fallthrough -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-elaborated-enum-base -Wno-reserved-identifier -Wno-gnu-folding-constant -Wno-cast-function-type -Wno-bitwise-instead-of-logical -fdebug-compilation-dir=/Users/malo/Desktop/FSUntether-main/iDownload -ferror-limit 19 -stack-protector 1 -fstack-check -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fgnuc-version=4.2.1 -fmodules -fimplicit-module-maps -fmodules-cache-path=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/clang/ModuleCache -fmodules-validate-system-headers -fobjc-runtime=ios-14.5.0 -fobjc-exceptions -fexceptions -fmax-type-align=16 -fcommon -fcolor-diagnostics -clang-vendor-feature=+messageToSelfInClassMethodIdReturnType -clang-vendor-feature=+disableInferNewAvailabilityFromInit -clang-vendor-feature=+disableNonDependentMemberExprInCurrentInstantiation -fno-odr-hash-protocols -clang-vendor-feature=+enableAggressiveVLAFolding -clang-vendor-feature=+revert09abecef7bbf -clang-vendor-feature=+thisNoAlignAttr -clang-vendor-feature=+thisNoNullAttr -mllvm -disable-aligned-alloc-awareness=1 -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o build/libhelpers.a -x objective-c Exploit/helpers.m clang -cc1 version 14.0.0 (clang-1400.0.29.202) default target x86_64-apple-darwin21.6.0 ignoring nonexistent directory "/Users/malo/theos/sdks/iPhoneOS14.5.sdk/usr/local/include" ignoring nonexistent directory "/Users/malo/theos/sdks/iPhoneOS14.5.sdk/Library/Frameworks" #include "..." search starts here: #include <...> search starts here: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include /Users/malo/theos/sdks/iPhoneOS14.5.sdk/usr/include /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include /Users/malo/theos/sdks/iPhoneOS14.5.sdk/System/Library/Frameworks (framework directory) End of search list. clang -cc1 version 14.0.0 (clang-1400.0.29.202) default target x86_64-apple-darwin21.6.0 ignoring nonexistent directory "/Users/malo/theos/sdks/iPhoneOS14.5.sdk/usr/local/include" ignoring nonexistent directory "/Users/malo/theos/sdks/iPhoneOS14.5.sdk/Library/Frameworks" #include "..." search starts here: #include <...> search starts here: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include /Users/malo/theos/sdks/iPhoneOS14.5.sdk/usr/include /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include /Users/malo/theos/sdks/iPhoneOS14.5.sdk/System/Library/Frameworks (framework directory) End of search list. clang -cc1 version 14.0.0 (clang-1400.0.29.202) default target x86_64-apple-darwin21.6.0 ignoring nonexistent directory "/Users/malo/theos/sdks/iPhoneOS14.5.sdk/usr/local/include" ignoring nonexistent directory "/Users/malo/theos/sdks/iPhoneOS14.5.sdk/Library/Frameworks" #include "..." search starts here: #include <...> search starts here: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include /Users/malo/theos/sdks/iPhoneOS14.5.sdk/usr/include /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include /Users/malo/theos/sdks/iPhoneOS14.5.sdk/System/Library/Frameworks (framework directory) End of search list. clang -cc1 version 14.0.0 (clang-1400.0.29.202) default target x86_64-apple-darwin21.6.0 ignoring nonexistent directory "/Users/malo/theos/sdks/iPhoneOS14.5.sdk/usr/local/include" ignoring nonexistent directory "/Users/malo/theos/sdks/iPhoneOS14.5.sdk/Library/Frameworks" #include "..." search starts here: #include <...> search starts here: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include /Users/malo/theos/sdks/iPhoneOS14.5.sdk/usr/include /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include /Users/malo/theos/sdks/iPhoneOS14.5.sdk/System/Library/Frameworks (framework directory) End of search list. clang -cc1 version 14.0.0 (clang-1400.0.29.202) default target x86_64-apple-darwin21.6.0 ignoring nonexistent directory "/Users/malo/theos/sdks/iPhoneOS14.5.sdk/usr/local/include" ignoring nonexistent directory "/Users/malo/theos/sdks/iPhoneOS14.5.sdk/Library/Frameworks" #include "..." search starts here: #include <...> search starts here: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include /Users/malo/theos/sdks/iPhoneOS14.5.sdk/usr/include /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include /Users/malo/theos/sdks/iPhoneOS14.5.sdk/System/Library/Frameworks (framework directory) End of search list. clang -cc1 version 14.0.0 (clang-1400.0.29.202) default target x86_64-apple-darwin21.6.0 ignoring nonexistent directory "/Users/malo/theos/sdks/iPhoneOS14.5.sdk/usr/local/include" ignoring nonexistent directory "/Users/malo/theos/sdks/iPhoneOS14.5.sdk/Library/Frameworks" #include "..." search starts here: #include <...> search starts here: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include /Users/malo/theos/sdks/iPhoneOS14.5.sdk/usr/include /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include /Users/malo/theos/sdks/iPhoneOS14.5.sdk/System/Library/Frameworks (framework directory) End of search list. clang -cc1 version 14.0.0 (clang-1400.0.29.202) default target x86_64-apple-darwin21.6.0 ignoring nonexistent directory "/Users/malo/theos/sdks/iPhoneOS14.5.sdk/usr/local/include" ignoring nonexistent directory "/Users/malo/theos/sdks/iPhoneOS14.5.sdk/Library/Frameworks" #include "..." search starts here: #include <...> search starts here: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include /Users/malo/theos/sdks/iPhoneOS14.5.sdk/usr/include /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include /Users/malo/theos/sdks/iPhoneOS14.5.sdk/System/Library/Frameworks (framework directory) End of search list. clang -cc1 version 14.0.0 (clang-1400.0.29.202) default target x86_64-apple-darwin21.6.0 ignoring nonexistent directory "/Users/malo/theos/sdks/iPhoneOS14.5.sdk/usr/local/include" ignoring nonexistent directory "/Users/malo/theos/sdks/iPhoneOS14.5.sdk/Library/Frameworks" #include "..." search starts here: #include <...> search starts here: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include /Users/malo/theos/sdks/iPhoneOS14.5.sdk/usr/include /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include /Users/malo/theos/sdks/iPhoneOS14.5.sdk/System/Library/Frameworks (framework directory) End of search list. clang -cc1 version 14.0.0 (clang-1400.0.29.202) default target x86_64-apple-darwin21.6.0 ignoring nonexistent directory "/Users/malo/theos/sdks/iPhoneOS14.5.sdk/usr/local/include" ignoring nonexistent directory "/Users/malo/theos/sdks/iPhoneOS14.5.sdk/Library/Frameworks" #include "..." search starts here: #include <...> search starts here: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include /Users/malo/theos/sdks/iPhoneOS14.5.sdk/usr/include /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include /Users/malo/theos/sdks/iPhoneOS14.5.sdk/System/Library/Frameworks (framework directory) End of search list. clang -cc1 version 14.0.0 (clang-1400.0.29.202) default target x86_64-apple-darwin21.6.0 ignoring nonexistent directory "/Users/malo/theos/sdks/iPhoneOS14.5.sdk/usr/local/include" ignoring nonexistent directory "/Users/malo/theos/sdks/iPhoneOS14.5.sdk/Library/Frameworks" #include "..." search starts here: #include <...> search starts here: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include /Users/malo/theos/sdks/iPhoneOS14.5.sdk/usr/include /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include /Users/malo/theos/sdks/iPhoneOS14.5.sdk/System/Library/Frameworks (framework directory) End of search list. clang -cc1 version 14.0.0 (clang-1400.0.29.202) default target x86_64-apple-darwin21.6.0 ignoring nonexistent directory "/Users/malo/theos/sdks/iPhoneOS14.5.sdk/usr/local/include" ignoring nonexistent directory "/Users/malo/theos/sdks/iPhoneOS14.5.sdk/Library/Frameworks" #include "..." search starts here: #include <...> search starts here: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include /Users/malo/theos/sdks/iPhoneOS14.5.sdk/usr/include /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include /Users/malo/theos/sdks/iPhoneOS14.5.sdk/System/Library/Frameworks (framework directory) End of search list. clang -cc1 version 14.0.0 (clang-1400.0.29.202) default target x86_64-apple-darwin21.6.0 ignoring nonexistent directory "/Users/malo/theos/sdks/iPhoneOS14.5.sdk/usr/local/include" ignoring nonexistent directory "/Users/malo/theos/sdks/iPhoneOS14.5.sdk/Library/Frameworks" #include "..." search starts here: #include <...> search starts here: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include /Users/malo/theos/sdks/iPhoneOS14.5.sdk/usr/include /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include /Users/malo/theos/sdks/iPhoneOS14.5.sdk/System/Library/Frameworks (framework directory) End of search list. Apple clang version 14.0.0 (clang-1400.0.29.202) Target: arm64-apple-darwin21.6.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1 -triple arm64-apple-ios14.5.0 -Wundef-prefix=TARGET_OS_ -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -Werror=implicit-function-declaration -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name grant_full_disk_access.m -mrelocation-model pic -pic-level 2 -mframe-pointer=non-leaf -fno-strict-return -fno-rounding-math -funwind-tables=2 -fobjc-msgsend-selector-stubs -target-sdk-version=14.5 -fvisibility-inlines-hidden-static-local-var -target-cpu apple-a7 -target-feature +fp-armv8 -target-feature +neon -target-feature +crypto -target-feature +zcm -target-feature +zcz -target-feature +sha2 -target-feature +aes -target-abi darwinpcs -fallow-half-arguments-and-returns -debugger-tuning=lldb -target-linker-version 820.1 -v -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0 -isysroot /Users/malo/theos/sdks/iPhoneOS14.5.sdk -internal-isystem /Users/malo/theos/sdks/iPhoneOS14.5.sdk/usr/local/include -internal-isystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include -internal-externc-isystem /Users/malo/theos/sdks/iPhoneOS14.5.sdk/usr/include -internal-externc-isystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-final-dtor-non-final-class -Wno-extra-semi-stmt -Wno-misleading-indentation -Wno-quoted-include-in-framework-header -Wno-implicit-fallthrough -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-elaborated-enum-base -Wno-reserved-identifier -Wno-gnu-folding-constant -Wno-cast-function-type -Wno-bitwise-instead-of-logical -fdebug-compilation-dir=/Users/malo/Desktop/FSUntether-main/iDownload -ferror-limit 19 -stack-protector 1 -fstack-check -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fgnuc-version=4.2.1 -fobjc-runtime=ios-14.5.0 -fobjc-exceptions -fexceptions -fmax-type-align=16 -fcommon -fcolor-diagnostics -clang-vendor-feature=+messageToSelfInClassMethodIdReturnType -clang-vendor-feature=+disableInferNewAvailabilityFromInit -clang-vendor-feature=+disableNonDependentMemberExprInCurrentInstantiation -fno-odr-hash-protocols -clang-vendor-feature=+enableAggressiveVLAFolding -clang-vendor-feature=+revert09abecef7bbf -clang-vendor-feature=+thisNoAlignAttr -clang-vendor-feature=+thisNoNullAttr -mllvm -disable-aligned-alloc-awareness=1 -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/grant_full_disk_access-021f59.o -x objective-c Exploit/grant_full_disk_access.m clang -cc1 version 14.0.0 (clang-1400.0.29.202) default target x86_64-apple-darwin21.6.0 ignoring nonexistent directory "/Users/malo/theos/sdks/iPhoneOS14.5.sdk/usr/local/include" ignoring nonexistent directory "/Users/malo/theos/sdks/iPhoneOS14.5.sdk/Library/Frameworks" #include "..." search starts here: #include <...> search starts here: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include /Users/malo/theos/sdks/iPhoneOS14.5.sdk/usr/include /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include /Users/malo/theos/sdks/iPhoneOS14.5.sdk/System/Library/Frameworks (framework directory) End of search list. Exploit/grant_full_disk_access.m:1:1: error: use of '@import' when modules are disabled @import Darwin; ^ Exploit/grant_full_disk_access.m:2:1: error: use of '@import' when modules are disabled @import Foundation; ^ Exploit/grant_full_disk_access.m:3:1: error: use of '@import' when modules are disabled @import MachO; ^ In file included from Exploit/grant_full_disk_access.m:9: Exploit/vm_unaligned_copy_switch_race.h:8:56: error: unknown type name 'off_t' bool unaligned_copy_switch_race(int file_to_overwrite, off_t file_offset, const void* overwrite_data, size_t overwrite_length); ^ Exploit/grant_full_disk_access.m:11:9: error: unknown type name 'NSObject' typedef NSObject* xpc_object_t; ^ Exploit/grant_full_disk_access.m:16:71: error: unknown type name 'dispatch_queue_t' xpc_connection_t xpc_connection_create_mach_service(const char* name, dispatch_queue_t targetq, ^ Exploit/grant_full_disk_access.m:21:45: error: unknown type name 'dispatch_queue_t' dispatch_queue_t replyq, xpc_handler_t handler); ^ Exploit/grant_full_disk_access.m:43:39: warning: declaration of 'struct segment_command_64' will not be visible outside of this function [-Wvisibility] struct segment_command_64** data_const_segment_out, ^ Exploit/grant_full_disk_access.m:44:39: warning: declaration of 'struct symtab_command' will not be visible outside of this function [-Wvisibility] struct symtab_command** symtab_out, ^ Exploit/grant_full_disk_access.m:45:39: warning: declaration of 'struct dysymtab_command' will not be visible outside of this function [-Wvisibility] struct dysymtab_command** dysymtab_out) { ^ Exploit/grant_full_disk_access.m:47:56: error: invalid application of 'sizeof' to an incomplete type 'struct mach_header_64' struct load_command* load_command = executable_map + sizeof(struct mach_header_64); ^ ~~~~~~~~~~~~~~~~~~~~~~~ Exploit/grant_full_disk_access.m:46:10: note: forward declaration of 'struct mach_header_64' struct mach_header_64* executable_header = executable_map; ^ Exploit/grant_full_disk_access.m:48:74: error: incomplete definition of type 'struct mach_header_64' for (int load_command_index = 0; load_command_index < executable_header->ncmds; ~~~~~~~~~~~~~~~~~^ Exploit/grant_full_disk_access.m:46:10: note: forward declaration of 'struct mach_header_64' struct mach_header_64* executable_header = executable_map; ^ Exploit/grant_full_disk_access.m:50:25: error: incomplete definition of type 'struct load_command' switch (load_command->cmd) { ~~~~~~~~~~~~^ Exploit/grant_full_disk_access.m:47:10: note: forward declaration of 'struct load_command' struct load_command* load_command = executable_map + sizeof(struct mach_header_64); ^ Exploit/grant_full_disk_access.m:51:12: error: use of undeclared identifier 'LC_SEGMENT_64' case LC_SEGMENT_64: { ^ Exploit/grant_full_disk_access.m:53:13: error: implicitly declaring library function 'strcmp' with type 'int (const char , const char )' [-Werror,-Wimplicit-function-declaration] if (strcmp(segment->segname, "__DATA_CONST") == 0) { ^ Exploit/grant_full_disk_access.m:53:13: note: include the header <string.h> or explicitly provide a declaration for 'strcmp' Exploit/grant_full_disk_access.m:53:27: error: incomplete definition of type 'struct segment_command_64' if (strcmp(segment->segname, "__DATA_CONST") == 0) { ~~~~~~~^ Exploit/grant_full_disk_access.m:43:39: note: forward declaration of 'struct segment_command_64' struct segment_command_64 data_const_segment_out, ^ Exploit/grant_full_disk_access.m:58:12: error: use of undeclared identifier 'LC_SYMTAB' case LC_SYMTAB: { ^ Exploit/grant_full_disk_access.m:62:12: error: use of undeclared identifier 'LC_DYSYMTAB' case LC_DYSYMTAB: { ^ Exploit/grant_full_disk_access.m:67:56: error: incomplete definition of type 'struct load_command' load_command = ((void*)load_command) + load_command->cmdsize; ~~~~~~~~~~~~^ Exploit/grant_full_disk_access.m:47:10: note: forward declaration of 'struct load_command' struct load_command* load_command = executable_map + sizeof(struct mach_header_64); ^ Exploit/grant_full_disk_access.m:72:46: warning: declaration of 'struct segment_command_64' will not be visible outside of this function [-Wvisibility] static uint64_t patchfind_get_padding(struct segment_command_64* segment) { ^ Exploit/grant_full_disk_access.m:73:57: error: invalid application of 'sizeof' to an incomplete type 'struct segment_command_64' struct section_64* section_array = ((void*)segment) + sizeof(struct segment_command_64); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ Exploit/grant_full_disk_access.m:72:46: note: forward declaration of 'struct segment_command_64' static uint64_t patchfind_get_padding(struct segment_command_64* segment) { ^ Exploit/grant_full_disk_access.m:74:59: error: incomplete definition of type 'struct segment_command_64' struct section_64* last_section = &section_array[segment->nsects - 1]; ~~~~~~~^ Exploit/grant_full_disk_access.m:72:46: note: forward declaration of 'struct segment_command_64' static uint64_t patchfind_get_padding(struct segment_command_64* segment) { ^ Exploit/grant_full_disk_access.m:75:22: error: incomplete definition of type 'struct section_64' return last_section->offset + last_section->size; ~~~~~~~~~~~~^ Exploit/grant_full_disk_access.m:73:10: note: forward declaration of 'struct section_64' struct section_64* section_array = ((void*)segment) + sizeof(struct segment_command_64); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 4 warnings and 20 errors generated. ../iDownload/build_mdc.sh:10: command not found: -c clang: error: argument to '-framework' is missing (expected 1 value) Apple clang version 14.0.0 (clang-1400.0.29.202) Target: arm64-apple-darwin21.6.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin ../iDownload/build_mdc.sh:12: command not found: MobileCoreServices

Building FSUntether TestFlight (MacDirtyCow)... cp: ../iDownload/TestFlightServices: No such file or directory

Done! Please uninstall the original TestFlight first, then sideload FSUntether.ipa. You must retain the original com.apple.TestFlight bundle ID.

Ixolaro avatar Oct 11 '23 12:10 Ixolaro