Recovering an Ncftp password
October 15, 2007 at 02:25 PM | categories: python, linux | View CommentsA coworker today asked me for the password to an FTP account we use. I didn't have any idea what it was because I just have it stored in an ncftp bookmark. I looked in my ~/.ncftp/bookmarks file and sure enough it was in there but it was encoded.
For future reference, I just wanted to document here that the password is simply base64 encoded. So it's pretty easy to decode using a bit of python:
>>> import base64 >>> base64.decodestring("TheEncodedPassword")