Skip to content

Error when running kairos and autodecrypt #6

Description

@jamesjing106

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

`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions