Open jamesjing106 opened 3 years ago
Have you checked your internet connection and/or tried again? "connection reset by peer" usually is a connection issue
Yes, it is the connection failure. Thank you, daniel. But finally, I still cannot boot the ramdisk. I found the problem was PyBoot. I manually go into PyBoot folder and run python pyboot.py -p, then the program hung there. And my iPhone6P failed to enter PWNed DFU state. Do you think I should change another iPhone for testing? I found iPhone6P is not stable for checkM8 exploit(using ipwndfu and PyBoot).
Are you two one person? Lol
I tested with iPhone X, I can recommend that.
For your iPhone 6 plus I don't know. But for good measure you can try this fork, maybe it fixes something? https://github.com/arx8x/telnetd_ramdisk
Only one person, me:P Thanks for your information. Another question, do I need to jailbreak the iPhone with Checkra1n before I did telnetd_ramdisk?
No problem. You do not need to jailbreak your phone for this to work.
Problems happened when running kairos and autodecrypt, please see below: Could you help? `make_telnet_rd.php: Executing autodecrypt -f iBSS -i 12.5.1 -d iPhone7,1 [w] could not get OTA url, trying with IPSW url Traceback (most recent call last): File "/Library/Python/3.8/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/Library/Python/3.8/site-packages/urllib3/connectionpool.py", line 445, in _make_request six.raise_from(e, None) File "", line 3, in raise_from
File "/Library/Python/3.8/site-packages/urllib3/connectionpool.py", line 440, in _make_request
httplib_response = conn.getresponse()
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/http/client.py", line 1337, in getresponse
response.begin()
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/http/client.py", line 307, in begin
version, status, reason = self._read_status()
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/http/client.py", line 268, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/socket.py", line 669, in readinto
return self._sock.recv_into(b)
ConnectionResetError: [Errno 54] Connection reset by peer
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/Library/Python/3.8/site-packages/requests/adapters.py", line 439, in send resp = conn.urlopen( File "/Library/Python/3.8/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/Library/Python/3.8/site-packages/urllib3/util/retry.py", line 531, in increment raise six.reraise(type(error), error, _stacktrace) File "/Library/Python/3.8/site-packages/urllib3/packages/six.py", line 734, in reraise raise value.with_traceback(tb) File "/Library/Python/3.8/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/Library/Python/3.8/site-packages/urllib3/connectionpool.py", line 445, in _make_request six.raise_from(e, None) File "", line 3, in raise_from
File "/Library/Python/3.8/site-packages/urllib3/connectionpool.py", line 440, in _make_request
httplib_response = conn.getresponse()
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/http/client.py", line 1337, in getresponse
response.begin()
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/http/client.py", line 307, in begin
version, status, reason = self._read_status()
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/http/client.py", line 268, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/socket.py", line 669, in readinto
return self._sock.recv_into(b)
urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/Library/Python/3.8/site-packages/remotezip.py", line 169, in fetch_fun res, headers = self.request(self.url, range_header, kwargs) File "/Library/Python/3.8/site-packages/remotezip.py", line 161, in request res = requests.get(url, stream=True, kwargs) File "/Library/Python/3.8/site-packages/requests/api.py", line 76, in get return request('get', url, params=params, kwargs) File "/Library/Python/3.8/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, kwargs) File "/Library/Python/3.8/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, send_kwargs) File "/Library/Python/3.8/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/Library/Python/3.8/site-packages/requests/adapters.py", line 498, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/bin/autodecrypt", line 10, in
sys.exit(main())
File "/Library/Python/3.8/site-packages/autodecrypt/main.py", line 79, in main
img_file = utils.download_file(parser, json_data)
File "/Library/Python/3.8/site-packages/autodecrypt/utils.py", line 88, in download_file
img_file = fw_utils.grab_file(fw_url, parser.img_file)
File "/Library/Python/3.8/site-packages/autodecrypt/fw_utils.py", line 13, in grab_file
with RemoteZip(url) as zipfile:
File "/Library/Python/3.8/site-packages/remotezip.py", line 130, in init
super(RemoteZip, self).init(rio)
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/zipfile.py", line 1269, in init
self._RealGetContents()
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/zipfile.py", line 1332, in _RealGetContents
endrec = _EndRecData(fp)
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/zipfile.py", line 264, in _EndRecData
fpin.seek(0, 2)
File "/Library/Python/3.8/site-packages/remotezip.py", line 104, in seek
self.buffer = self.fetch_fun((-size, None), stream=False)
File "/Library/Python/3.8/site-packages/remotezip.py", line 172, in fetch_fun
raise RemoteIOError(str(e))
remotezip.RemoteIOError: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer'))
make_telnet_rd.php: Executing kairos iBSS..RELEASE.bin iBSS.patched
Error opening iBSS..RELEASE.bin for reading
make_telnet_rd.php: Executing autodecrypt -f iBEC -i 12.5.1 -d iPhone7,1
`