Changelog
Highlights
🆕 ipsw pkg
command 🚧
Extract a single file from a KDK
❯ ipsw pkg Kernel_Debug_Kit_15.3_build_24D60.dmg
• Extracted disk image to disk.img
• Parsing disk.img as HFS+...
• Extracted KernelDebugKit.pkg
• NOW try running `ipsw pkg KernelDebugKit.pkg`
❯ ipsw pkg KernelDebugKit.pkg --pattern kernel.development.t6041 --flat
• Checking for files in KDK.pkg/Payload...
• Extracting kernel.development.t6041
❯ ipsw macho info kernel.development.t6041 | head
Magic = 64-bit MachO
Type = EXECUTE
CPU = AARCH64, ARM64e caps: KER00
Commands = 31 (Size: 6024)
Flags = NoUndefs, PIE
000: LC_SEGMENT_64 sz=0x0017c000 off=0x00000000-0x0017c000 addr=0xfffffe0007004000-0xfffffe0007180000 r--/r-- __TEXT
sz=0x00037100 off=0x00003c80-0x0003ad80 addr=0xfffffe0007007c80-0xfffffe000703ed80 __TEXT.__const
sz=0x00000120 off=0x0003ad80-0x0003aea0 addr=0xfffffe000703ed80-0xfffffe000703eea0 __TEXT.__copyio_vectors
sz=0x00113f46 off=0x0003aea0-0x0014ede6 addr=0xfffffe000703eea0-0xfffffe0007152de6 __TEXT.__cstring (CstringLiterals)
sz=0x0002cc03 off=0x0014ede6-0x0017b9e9 addr=0xfffffe0007152de6-0xfffffe000717f9e9 __TEXT.__os_log
List contents of the PKG
❯ ipsw pkg KernelDebugKit.pkg --bom | grep -i sandbox
• Package contents
• Parsing KDK.pkg/Bom...
-rw-r--r-- 2025-01-10T21:32:10-07:00 2.4 kB System/Library/Extensions/Sandbox.kext/Contents/Info.plist
-rw-r--r-- 2025-01-10T21:34:26-07:00 516 B System/Library/Extensions/Sandbox.kext/Contents/version.plist
-rw-r--r-- 2025-01-16T05:11:29-07:00 2.4 kB System/Library/Extensions/Sandbox.kext/Contents/_CodeSignature/CodeResources
-rwxr-xr-x 2025-01-16T05:11:29-07:00 1.5 MB System/Library/Extensions/Sandbox.kext/Contents/MacOS/Sandbox
Show the distribution scripts
❯ ipsw pkg KernelDebugKit.pkg --distribution
• Parsing Distribution...
• Distribution Scripts
function InstallationCheck(prefix) {
if (system.compareVersions(system.version.ProductVersion, '10.10') < 0) {
my.result.message = system.localizedStringWithFormat('ERROR_B85E600482', '10.10');
my.result.type = 'Fatal';
return false;
}
return true;
}
function VolumeCheck(prefix) {
var myTargetSystemVersion = (my.target.systemVersion || system.files.plistAtPath(my.target.mountpoint + "/System/Library/CoreServices/SystemVersion.plist"));
if (!myTargetSystemVersion || system.compareVersions(myTargetSystemVersion.ProductVersion, '10.10') < 0) {
my.result.message = system.localizedStringWithFormat('ERROR_B85E600482', '10.10');
my.result.type = 'Fatal';
return false;
}
return true;
}
New Features
Bug fixes
Dependency updates
- 398b646: chore(deps): bump dep (@blacktop)
- 304bc06: chore(deps): bump deps (@blacktop)
- f55eb04: chore(deps): bump go-apfs (@blacktop)
Documentation updates
Summary
Full Changelog: v3.1.567...v3.1.568
What to do next?
- Read the documentation
- Follow us on Twitter
- Follow us on Mastodon