keylimepie is an automated script for OS X that grabs the IV's, Keys and the RootFS key for the key pages. This stores the KBAG's into a file called
KBAG.txt. Once it has the keys, two files are created: keys.txt which holds the keys and also
wikikeys.txt which has the keys in the layout so that you can copy/paste the file content to the page on this wiki. It is written in bash. The syntax is
./keylimepie.sh ./path_to_IPSW [-t2] - the
-t2 is optional, and should only be used if your timing is consistently off. As of iOS 7.1 and newer, keylimepie is broken. The keys generated are not all accurate from 7.1+. It can still be used to get KBAG's.