8000 GitHub - oschanger/Decrypt0r: CLI tool to decrypt iOS firmware components
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

oschanger/Decrypt0r

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Decrypt0r

Choose what you want to do
 1) Decrypt Root Filesystem
 2) Decrypt Ramdisk
 3) Decrypt IMG3/IMG4 File
 4) Decrypt DFU File
 5) Decrypt Kernelcache
 6) Grab Keybags
 7) Patch iBEC/iBSS
> 

###Rootfs decrypting

To decrypt rootfs or other components like IMG3 files you have to grab keys from iPhonewiki.

First download the IPSW you choose to decrypt, you can download it directly with my tool or from ipsw.me.
The program will ask you to add the keys grabed from iphonewiki (only one for the rootfs).

Specify the name of the file containing rootfs (ex 058-24465-023.dmg).
In the IPSW file, there is three dmg files, rootfs is the biggest.

Then the program is going to work automaticaly.

If you want to modify rootfs (ex Setup.app) you can use TransMac for Windows. But it won't work to bypass iCloud

Encryption of rootfs and creating a Custom fimware

You can create a Custom fimware but it's crap. Be patient.
Downgrades are already impossible without SHSHs blobs, on devices that do not have low level exploits (RIP Limera1n).
Is this feature useless ?
Yes, but it can still be used.

###IMG3

To decrypt IMG3 files like kernelcache or iBoot, you have to grab the keys from theiphonewiki
The first one to add is the largest, and the second one is the iv key (the smallest).
Then follow instructions.

IMG4

Decrypt0r now supports IMG4 (or im4P, whatever) files. I added a function which checks if the file is an IM4P or not.

You can also decompress compressed iPhone 7 (and other unencrypted kcaches) kernelcache when it asks for firmware just press enter keys.

###How to build it?

To build Decrypt0r just cd to the decryptr0r directory and run make

If you need to build XPwn for Linux, just run build.sh. OS X users you have to build XPwn yourself, I'll made a bin directory with all the binaries ASAP

###Compatibility

Decrypt0r is compatible with Linux & OS X, Windows users, check Decrypt0r for Windows

###Binaries For people who doesn't want to run my script or are running OS X you have the possibility to download this file which contains OS X, Linux 6073 64 & Raspberry Pi binaries
Download here If you want to download an IPSW file from the tool you should install wget

Credits

Credits go to :
My friend @Dev__Jam for idea and some code.
Some functions by Lilo Colson
Reimagine tool made by Danzatt
Callum Jones for his awesome website ipsw.me & API .

Developed by Mathieu Hautebas (@matteyeux)

For this tool I used:

For more informations contact me on Twitter: @matteyeux or ask this awesome website (not mine).

About

CLI tool to decrypt iOS firmware components

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 88.1%
  • Shell 9.2%
  • Makefile 1.5%
  • C++ 1.2%
0