Ipsw

From iPhone Development Wiki

This is documentation for the ipsw tool. For documentation of the ipsw file format, see the corresponding page on The Apple Wiki

ipsw is an all-purpose tool for iOS reverse engineering and research.

Installation

brew install blacktop/tap/ipsw

scoop bucket add blacktop https://github.com/blacktop/scoop-bucket.git

scoop install blacktop/ipsw

sudo snap install blacktop/tap/ipsw

Usage

Running ipsw without any arguments, or with the --help argument will print a list of commands.


ipsw --help

Download and Parse IPSWs (and SO much more)
Usage:
 ipsw [command]
Available Commands:
 appstore        Interact with the App Store Connect API
 device-list     List all iOS devices
 diff            Diff IPSWs
 download        Download Apple Firmware files (and more)
 dtree           Parse DeviceTree
 dyld            Parse dyld_shared_cache
 ent             Search IPSW filesystem DMG for MachOs with a given entitlement
 extract         Extract kernelcache, dyld_shared_cache or DeviceTree from IPSW/OTA
 help            Help about any command
 iboot           Dump firmwares
 idev            USB connected device commands
 img4            Parse Img4
 info            Display IPSW/OTA Info
 kernel          Parse kernelcache
 macho           Parse MachO
 mdevs           List all MobileDevices in IPSW
 mount           Mount DMG from IPSW
 ota             Parse OTAs
 plist           Dump plist as JSON
 pongo           PongoOS Terminal
 sepfw           Dump MachOs
 ssh             SSH into a jailbroken device
 symbolicate     Symbolicate ARM 64-bit crash logs (similar to Apple's symbolicatecrash)
 update          Download an ipsw update if one exists
 version         Print the version number of ipsw
 watch           Watch Github Commits
Flags:
     --color           colorize output
     --config string   config file (default is $HOME/.config/ipsw/config.yaml)
 -h, --help            help for ipsw
 -V, --verbose         verbose output
Use "ipsw [command] --help" for more information about a command.