MatthewPierson / PyBoot

Tool for tether booting Checkm8 vulnerable iOS devices
GNU Lesser General Public License v3.0
282 stars 51 forks source link

Error on all devices #15

Open brandonplank opened 4 years ago

brandonplank commented 4 years ago

brandonplank@Brandons-MacBook-Pro PyBoot % ./pyboot.py -i iPhone7,2 11.3 PyBoot - A tool for tether booting Checkm8 vulnerable iOS devices by Matty, @mosk_i

Current version is: Beta 0.2 Make sure your device is connected in DFU mode Checking theiphonewiki for 11.3 keys... Found Keys! Getting SHSH for signing images Downloading and patching 11.3's iBSS/iBEC Io Error: Could not read enough bytes Io Error: Could not read enough bytes libc++abi.dylib: terminating with uncaught exception of type tihmstar::OFexception: std::exception libc++abi.dylib: terminating with uncaught exception of type tihmstar::OFexception: std::exception Downloading 11.3's BuildManifest.plist Extracting: BuildManifest.plist, from iPhone_4.7_11.3_15E216_Restore.ipsw Downloading 11.3's KernelCache Extracting: kernelcache.release.iphone7, from iPhone_4.7_11.3_15E216_Restore.ipsw Downloading 11.3's DeviceTree Extracting: Firmware/all_flash/DeviceTree.n61ap.im4p, from iPhone_4.7_11.3_15E216_Restore.ipsw

brandonplank commented 4 years ago

full log

KeyboardInterrupt brandonplank@Brandons-MacBook-Pro PyBoot % ./pyboot.py -i iPhone7,2 11.3 PyBoot - A tool for tether booting Checkm8 vulnerable iOS devices by Matty, @mosk_i

Current version is: Beta 0.2 Make sure your device is connected in DFU mode Checking theiphonewiki for 11.3 keys... Found Keys! Getting SHSH for signing images Downloading and patching 11.3's iBSS/iBEC Io Error: Could not read enough bytes Io Error: Could not read enough bytes libc++abi.dylib: terminating with uncaught exception of type tihmstar::OFexception: std::exception libc++abi.dylib: terminating with uncaught exception of type tihmstar::OFexception: std::exception Downloading 11.3's BuildManifest.plist Extracting: BuildManifest.plist, from iPhone_4.7_11.3_15E216_Restore.ipsw Downloading 11.3's KernelCache Extracting: kernelcache.release.iphone7, from iPhone_4.7_11.3_15E216_Restore.ipsw Downloading 11.3's DeviceTree Extracting: Firmware/all_flash/DeviceTree.n61ap.im4p, from iPhone_4.7_11.3_15E216_Restore.ipsw iOS version is 11.x, not downloading trustcache Patching Kernel's type from krnl to rkrn iOS version is 11.x, skipping trustcache patching Patching Devicetree's type from dtre to rdtr Signing boot files Signing boot files Exploiting device with checkm8 Waiting for the USB device with VID: 0x5AC, PID: 0x1227, SRTG: iBoot-1992.0.0.1.19 Found the USB device. Stage: RESET, ret: 0x0 Found the USB device. transfer_ret: 0xE00002EB, transfer_sz: 0x0 Stage: SETUP, ret: 0x0 Found the USB device. Stage: PATCH, ret: 0x0

Eclipsa doesn't allow me to see if the exploit worked or not =( Just have to assume it did, if it didn't then reboot into DFU mode and re-run PyBoot Sending boot files to the device and booting <subprocess.Popen object at 0x10465c050> ERROR: Unable to connect to device Should be good? Device should be booting! ERROR: Unable to connect to device [== ] 3.7%ERROR: Unable to connect to device

MatthewPierson commented 4 years ago

Sorry for slow reply, looks like it was an issue with iBoot64Patcher. Latest versions use Kairos for image patching, so you shouldn't have this issue anymore.