If you're going to recover the password you should have physical access to the device otherwise you shouldn't be in it.

BTW-If you go search on cisco.com they tell you how to get the passwords. It's pretty common knowledge.