Skip to content

TRANTUAN-PC/ifirmware_parser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

iFirmware Parser

Multi parser and RAMDISK downloader

Contributors Commits


Features

  1. Parse info from apple's firmwares json file
  2. Parse firmware decryption keys from json file
  3. Download firmware decryption keys
  4. Download SSH RAMDISK files using pzb
  5. Cross platform

Requirements

  • Bash environment.

How to use (All Platforms):

$ git clone 'https://github.com/mast3rz3ro/ifirmware_parser'
$ cd ifirmware_parser
$ chmod +x './ifirmware_parser.sh'
$ ./ifirmware_parser.sh -h
  • To see what variables returns the script use the debug switch:
$ ./ifirmware_parser.sh -p iphone9,3 -s 15 -d
  • To download and store decryption keys use -k switch:
$ ./ifirmware_parser.sh -p iphone9,3 -s 15 -k
  • To download decryption keys and ramdisk files use -r switch:
$ ./ifirmware_parser.sh -p iphone9,3 -s 15 -o 'somefolder' -r
  • To use it in your shell script call it with source:
$ source ./ifirmware_parser.sh -p iphone9,3 -s 15 -o 'somefolder' -r
or even for searching the exact build
$ source ./ifirmware_parser.sh -p iphone9,3 -b 19H370 -o 'somefolder' -r

Important Notes

  • Feel free to send a pull request.

Credits

  • TheAppleWiki for providing decryption keys
  • jq Used for parsing json files
  • curl Used for downloading firmware keys
  • tihmstar for partialZipBrowser, a utility for downloading partial file from zip
  • libimobiledevice for plistutil, a utility for parsing plist files
  • sshrd_tools precompiled tools, this script uses only jq and pzb
  • Firmware decryption keys download function are inspired from @meowcat454 script's 64bit-SSH-Ramdisk
  • Thanks @iam-theKid for making this tool

About

Multi parser and RAMDISK downloader

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%