blacktop
4f23763438
feat(extract): auto-decrypt remote kernelcaches via wiki keys
...
`ipsw download ipsw --kernel` now fetches firmware keys from
theapplewiki and decrypts encrypted kernelcaches inline. Unencrypted
members in the same IPSW pass through unchanged.
- pkg/img4: DecryptPayload reuses Payload.GetData for decompression,
removing the duplicate LZSS/LZFSE branches.
- pkg/kernelcache: ParseImg4Data switches to img4.ParsePayload and
exports ErrEncryptedKernelCache so callers can detect the missing-key
case via errors.Is.
- internal/commands/extract: new keyed remote path with all-or-nothing
preflight; the encryption-status peek lets unencrypted variants
succeed even when the wiki has no entry for them.
closes #1193
2026-04-27 15:57:23 -06:00
blacktop
4b0e4eec3d
feat(kernelcache): enhance version parsing with regex and caching
2026-03-07 17:14:59 -07:00
blacktop
04f7fe7627
feat(symbolicate): enhance kernelcache extraction for specific devices and improve logging
2025-12-05 14:58:58 -07:00
blacktop
17135297aa
fix: ipsw kernel dec --output issue #901
2025-10-19 20:13:53 -06:00
blacktop
124589b5b9
Update kernelcache.go
2025-06-29 13:40:56 -06:00
blacktop
3cded00f59
feat: revamp ipsw img4 commands to bring inline with tools like img4lib ( #784 )
2025-06-28 01:54:40 -06:00
blacktop
6cca9a980d
refactor: replace interface{} with any and simplify loop constructs
2025-03-26 22:53:29 -06:00
blacktop
2b5ccd520c
chore: add debug log to kernelcache extraction for single slice fat machos
2024-06-03 09:15:04 -06:00
blacktop
980f67b245
fix: add error if detected encrypted device-tree #389
2024-01-21 16:32:56 -07:00
blacktop
1673ee487a
feat: add ability to filter the extracted kernelcaches to a single device
2024-01-06 23:07:58 -07:00
blacktop
ea1d8365c2
Update kernelcache.go
2023-11-20 10:58:06 -07:00
blacktop
172025f25f
fix: ipsw extract --kernel --json output to include devices 🥝
2023-08-03 17:54:19 +12:00
blacktop
726b5a926c
feat: add ability to extract SPTM firmware via ipsw extract --sptm
2023-06-08 21:58:28 -06:00
blacktop
8219f0e3a4
docs: trying to improve some swag docs
2023-04-16 23:00:53 -06:00
blacktop
f85daa1ac3
feat: ipsw daemon (API) ( #219 )
2023-04-12 20:00:05 -06:00
blacktop
bcc4056aec
feat: add 🆕 secret ipsw kernel kmutil command
2023-03-03 10:12:08 -07:00
blacktop
47ac282f48
fix: many small issues w/ auto-folder name creation #184
2023-02-17 11:17:26 -07:00
blacktop
80cfadfc73
feat: sandbox decompiler WIP 🚧 ( #178 )
2023-01-10 23:35:29 -07:00
blacktop
416b5a3043
feat: in ipsw kernel dec cmd try and auto-detect KernelManagement kernelcaches
2022-12-14 17:38:49 -07:00
blacktop
c50a4f3090
fix: regression in kc.go
2022-12-03 20:26:41 -07:00
blacktop
ba86cb6a5d
feat: add support for macOS 13.x KernelManagement kernelcaches via ipsw kernel dec --km flag
2022-12-03 18:06:18 -07:00
blacktop
43603aa351
fix: ipsw macho disass command
2022-09-08 22:09:53 -06:00
blacktop
d9ea4a0d74
Update kernelcache.go
2022-07-23 12:37:14 -06:00
blacktop
382432b861
fix: kc version for fileset kernels
2022-07-20 14:10:53 +01:00
blacktop
65084dfaec
fix: handle IPSWs/OTAs where I can't parse the device tree properly
2022-07-05 21:17:36 +10:00
blacktop
c937c5564a
fix: extract cmd to save kbag JSON to file and don't create outer dir by default
2022-07-02 00:42:25 +10:00
blacktop
0ce1f67976
fix: some CodeQL issues
2022-02-18 14:13:42 -07:00
blacktop
c8ede6dbd1
chore: standardize the ipsw/ota extraction folder names
2022-01-16 18:47:13 -07:00
blacktop
6156f64bd2
fix: extract cmd folder dest to be the same for all items
2021-10-27 16:40:20 -06:00
blacktop
9611071461
fix: extract --kernel for uncompressed kernels
2021-08-10 13:52:33 -06:00
blacktop
07866327d7
feat: add dst args to many downloaders and NEW folder/file naming scheme #19
2021-06-24 22:55:43 -06:00
blacktop
b480a9b799
fix: ota download --kernel
2021-06-14 15:13:00 -06:00
blacktop
006b49a303
chore: cleanup
2021-05-09 21:54:25 -06:00
blacktop
8d41b2b385
Revert "feat: ability to extract NEW file-set kernel"
...
This reverts commit 48a2841a51 .
2021-05-09 21:50:55 -06:00
blacktop
48a2841a51
feat: ability to extract NEW file-set kernel
2021-05-09 21:34:47 -06:00
blacktop
149cd70875
feat: pure Go lzfse is BACK 😎
2020-11-08 21:07:34 -05:00
savage-waffle
4f5057703e
Update kernelcache.go ( #12 )
...
spelling fix. love this code.
2020-08-27 18:23:51 -04:00
blacktop
4300825a6c
chore: err str fixes + download kernel spd up hopefully
2020-08-23 20:51:07 -04:00
blacktop
c54397daa5
chore: clean up download cmds a bit
2020-08-22 22:42:16 -04:00
blacktop
05d4a4226c
fix: go back to cgo lzfse for now 😞
2020-08-22 09:43:49 -04:00
blacktop
ea5cf58abe
feat: add ability to extract new research kernelcaches
2020-07-24 13:46:06 -04:00
blacktop
20c196095a
feat: ota info + folder gen
2020-04-29 23:54:38 -04:00
blacktop
4777a25869
chore: pull lzss header stuff out of kern pkg
2020-04-12 13:07:49 -04:00
blacktop
2dd49004f2
fix: do not pre-grow
2020-04-12 12:48:59 -04:00
blacktop
9c44c8c244
fix: refactor import errors
2020-04-11 16:35:02 -04:00
blacktop
78247c03f8
feat: remove cgo lzfse dep thanks to [aixiansheng/lzfse]( https://github.com/aixiansheng/lzfse ) 🥳
2020-04-11 16:29:07 -04:00
Mr. Ai
2238d735b5
Initial commit of kext extraction code ( #10 )
...
* Initial commit of kext extraction code
2020-04-03 17:17:58 -04:00
blacktop
f7ff01d00a
chore: refactor macho pkg to external pkg
2020-04-02 21:28:00 -04:00
blacktop
fe4de6276b
feat: 🆕 img4 dec cmd
2020-03-30 17:59:37 -04:00
blacktop
36cfd945d3
fix: fixing a few bugs seen with new 13.4beta
2020-02-09 15:51:06 -05:00