Skip to content
/ iKGD Public

An automated AES keys grabbing cli utility for iOS firmware.

License

Notifications You must be signed in to change notification settings

Neal/iKGD

Repository files navigation

iKGD

A fully automated tool to grab AES keys for iOS firmwares. iKGD takes about 25 seconds to extract the firmware, parse stuff we need, exploit the device and run iKGD cyanide payload, grab keys, make The iPhone Wiki keys file and opensn0w plist.

Usage

iKGD.exe <args> [options]

	-i <ipswlocation>     Local path to the iOS firmware
	-u <ipswurl>          Remote firmware URL to download files from
	-d <device>           Device boardid as n90ap to fetch URL (use with -f)
	-f <firmwarebuild>    Firmware build as 9A334 to fetch URL (use with -d)
	-k <keysdir>          Path to dir to store keys (default "C:\IPSW\Keys\")
	-S                    Running on server (also run -H at home)
	-H                    Use with -S to get keys from home
	-R                    Manually specify dir used by Remote mode (-S or -H)
	-e                    Extract full root filesystem (only with -i)
	-r                    Don't reboot device.
	-v                    Verbose
  • Use -i if you have the firmware locally.
  • Use -u if you have a link to the firmware you want to download files from. (about 20-25MB)
  • Use -d and -f and fetch the url from Firmware Links API and continue what -u would do.
  • -S and -H are used when you have the ipsw on a remote server and device on the other.
The RemoteServer mode allows you to run iKGD on a remote server while still use your home pc to get the keys. Use -S 
on the server and it'll make a plist for the home pc with the kbags. Copy that to the home pc and use -H at home and 
it will make a plist with keys for the server. Once the server finds the plist, it'll continue like it was running 
locally! :) Still takes only 50 seconds for everything (mainly because Dropbox takes time to sync) :P
I use Dropbox to automatically sync the plists. You can also do it manually (see -R).
All of it just works!

Devices Supported

  • s5l8930x - iPhone 4, iPod touch 4, iPad 1, Apple TV 2
  • s5l8922x - iPod touch 3rd gen
  • s5l8920x - iPhone 3GS
  • s5l8720x - iPod touch 2nd gen

Credits

License

Copyright (c) 2012 Neal (neal@ineal.me)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and 
associated documentation files (the "Software"), to deal in the Software without restriction, including 
without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 
sell copies of the Software, and to permit persons to whom the Software is furnished to do so, 
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial 
portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT 
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

An automated AES keys grabbing cli utility for iOS firmware.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages