keylimepie is an automated script for OS X that grabs the IV's and Keys 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
sudo ./keylimepie.sh ./IPSW - replace
IPSW with the URL to the IPSW you are using.