Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usb.core.USBError: [Errno 13] Access denied (insufficient permissions) #84

Open
Panak252 opened this issue Jul 26, 2022 · 0 comments
Open

Comments

@Panak252
Copy link

I run ./pyboot.py -i iPhone7,2 11.4.1 -d disk0s1s6 and this is what I get:

User@192 PyBoot-master % ./pyboot.py -i iPhone7,2 11.4.1 -d disk0s1s6
/Users/User/Library/Python/3.8/lib/python/site-packages/requests/init.py:89: RequestsDependencyWarning: urlli
b3 (1.26.5) or chardet (3.0.4) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
PyBoot - A tool for tether booting Checkm8 vulnerable iOS devices by Matty, @mosk_i

Current version is: Beta 0.9.1
User choose to boot 11.4.1 from /dev/disk0s1s6.
Make sure your device is connected in DFU mode
Checking theiphonewiki for 11.4.1 keys...
Found Keys!
Downloading 11.4.1's BuildManifest.plist
Extracting: BuildManifest.plist, from iPhone_4.7_11.4.1_15G77_Restore.ipsw
Found multiple device models...
Which is your device?

1: n61ap
2: n71ap
3: n71map

Enter the number that corresponds with your device: 1
Device set to n61ap
Getting SHSH for signing images
Downloading and patching 11.4.1's iBSS/iBEC
Extracting: Firmware/dfu/iBEC.n61.RELEASE.im4p, from iPhone_4.7_11.4.1_15G77_Restore.ipsw
Extracting: Firmware/dfu/iBSS.n61.RELEASE.im4p, from iPhone_4.7_11.4.1_15G77_Restore.ipsw
Downloading 11.4.1's KernelCache
Extracting: kernelcache.release.iphone7, from iPhone_4.7_11.4.1_15G77_Restore.ipsw
Downloading 11.4.1's DeviceTree
Extracting: Firmware/all_flash/DeviceTree.n61ap.im4p, from iPhone_4.7_11.4.1_15G77_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
Exploiting device with checkm8
Traceback (most recent call last):
File "./pyboot.py", line 505, in
main()
File "./pyboot.py", line 481, in main
pwn.pwndfumode()
File "/Users/User/Desktop/PyBoot-master/resources/pwn.py", line 141, in pwndfumode
device = dfu.acquire_device()
File "/Users/User/Desktop/PyBoot-master/resources/ipwndfu/dfu.py", line 23, in acquire_device
usb.util.claim_interface(device, 0)
File "/Users/User/Library/Python/3.8/lib/python/site-packages/usb/util.py", line 205, in claim_interface
device._ctx.managed_claim_interface(device, interface)
File "/Users/User/Library/Python/3.8/lib/python/site-packages/usb/core.py", line 102, in wrapper
return f(self, *args, **kwargs)
File "/Users/User/Library/Python/3.8/lib/python/site-packages/usb/core.py", line 167, in managed_claim_interface
self.backend.claim_interface(self.handle, i)
File "/Users/USer/Library/Python/3.8/lib/python/site-packages/usb/backend/libusb1.py", line 811, in claim_interface
_check(self.lib.libusb_claim_interface(dev_handle.handle, intf))
File "/Users/User/Library/Python/3.8/lib/python/site-packages/usb/backend/libusb1.py", line 595, in _check
raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 13] Access denied (insufficient permissions)

usb.core.USBError: [Errno 13] Access denied (insufficient permissions)

Any ideas? My iPhone is supported according to the readme: iPhone 6
Main iOS: 12.5.5
2nd iOS (dualboot): 11.4.1

I have checked SEP compatibility, and it is compatible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant