How to recover your iPhone password
In order to recover your iPhone password you will need to have the following software installed on your computer.
Download it from this website.
The correct 5.0.1 IPSW for your device. Earlier models not listed can use the bypass connect to iTunes feature but cannot read passwords.
The most recent version of RedSn0w. Make sure to select the Windows version as this will not work on Mac. Currently I am using 0.9.14b1 and it seems to be completely stable.