Skip to content
WinSCP Password Extractor/Decrypter/Revealer written in go language
Go
Branch: master
Clone or download
anoopengineer Merge pull request #2 from mateuszmalek/master
Fixed issue with arguments length check
Latest commit 4135f0a Jan 19, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitattributes first (and maybe the last) commit Mar 13, 2014
.gitignore first (and maybe the last) commit Mar 13, 2014
README.md changes to Readme Mar 13, 2014
main.go Fixed issue with arguments length check Jan 11, 2017

README.md

WinSCP Password Extractor/Decrypter/Revealer

WinSCP stores ssh session passwords in an encrypted format in the windows registry. If you have passwords saved in WinSCP sessions but have forgotten them, use this tool to get it back.

Steps

  1. Open your windows registry (you can do this by hitting Win + R and entering regedit)
  2. Navigate to [HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\Sessions] to get the hostname, username and encrypted password
  3. Take a command prompt and run winscppasswd passing hostname, username and encrypted password as parameter.
winscppasswd.exe <host> <username> <encrypted_password>

Decrypted password will be shown on the command prompt

About

This utility was written to "scratch my own itch" of me constantly forgetting my saved passwords. There are couple of third party tools available that can decrypt the password, but I wasn't overly joyed at the concept of handing over my password to an unkonwn tool downloaded from the internet. So I decided to write my own.

You can download a ready made binary here or from "Releases" section in GitHub. But you are welcome to compile the source yourself if you don't trust binary files.

This is written in Go lang. Head over to http://golang.org/ to download the compiler.

You can’t perform that action at this time.