Skip to content

ariadata/winscp-ini-extract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WinSCP ini Extractor

WinSCP stores SSH session passwords in encrypted format. If you have passwords saved in WinSCP sessions but forgot them, use this tool to decrypt and recover them.

Build

Linux

CGO_ENABLED=0 GOOS=linux go build -o winscppasswd main.go

Windows

CGO_ENABLED=0 GOOS=windows go build -o winscppasswd.exe main.go

Usage

From INI file (recommended)

./winscppasswd ini [filepath]

From Windows Registry

  1. Open Registry Editor (Win + R, type regedit)
  2. Navigate to [HKEY_CURRENT_USER\Software\mehrdad\WinSCP\Sessions]
  3. Get hostname, username and encrypted password
  4. Run:
./winscppasswd <host> <username> <encrypted_password>

About

Written in Go to safely decrypt WinSCP passwords without relying on untrusted third-party tools.

About

Extract WinSCP ini file/passwords

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages