ipsw-parser 1.3.5__tar.gz → 1.3.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/PKG-INFO +1 -1
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/ipsw_parser/_version.py +2 -2
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/ipsw_parser/build_identity.py +5 -1
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/ipsw_parser.egg-info/PKG-INFO +1 -1
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/.gitattributes +0 -0
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/.github/workflows/codeql.yml +0 -0
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/.github/workflows/python-app.yml +0 -0
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/.github/workflows/python-publish.yml +0 -0
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/.gitignore +0 -0
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/.pre-commit-config.yaml +0 -0
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/CODE_OF_CONDUCT.md +0 -0
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/LICENSE +0 -0
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/README.md +0 -0
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/ipsw_parser/__init__.py +0 -0
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/ipsw_parser/__main__.py +0 -0
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/ipsw_parser/build_manifest.py +0 -0
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/ipsw_parser/component.py +0 -0
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/ipsw_parser/exceptions.py +0 -0
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/ipsw_parser/firmware.py +0 -0
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/ipsw_parser/img4.py +0 -0
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/ipsw_parser/ipsw.py +0 -0
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/ipsw_parser.egg-info/SOURCES.txt +0 -0
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/ipsw_parser.egg-info/dependency_links.txt +0 -0
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/ipsw_parser.egg-info/entry_points.txt +0 -0
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/ipsw_parser.egg-info/requires.txt +0 -0
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/ipsw_parser.egg-info/top_level.txt +0 -0
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/pyproject.toml +0 -0
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/pytest.ini +0 -0
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/requirements.txt +0 -0
- {ipsw_parser-1.3.5 → ipsw_parser-1.3.6}/setup.cfg +0 -0
|
@@ -7,6 +7,7 @@ from typing import List, Mapping, Optional
|
|
|
7
7
|
|
|
8
8
|
from cached_property import cached_property
|
|
9
9
|
from plumbum import local
|
|
10
|
+
from pyimg4 import IM4P
|
|
10
11
|
|
|
11
12
|
from ipsw_parser.component import Component
|
|
12
13
|
|
|
@@ -161,7 +162,10 @@ class BuildIdentity(UserDict):
|
|
|
161
162
|
kernel_output = output / 'System/Library/Caches/com.apple.kernelcaches' / kernel_path.parts[-1]
|
|
162
163
|
|
|
163
164
|
logger.info(f'extracting kernel into: {kernel_output}')
|
|
164
|
-
kernel_output.write_bytes(kernel_component.data)
|
|
165
|
+
# kernel_output.write_bytes(kernel_component.data)
|
|
166
|
+
im4p = IM4P(kernel_component.data)
|
|
167
|
+
im4p.payload.decompress()
|
|
168
|
+
kernel_output.write_bytes(im4p.payload.output().data)
|
|
165
169
|
|
|
166
170
|
for cryptex in ('App', 'OS'):
|
|
167
171
|
name = {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|