WINSCP默认保存用户密码在注册表中的如下位置
HKEY_USERS\SID\Software\Martin Prikryl\WinSCP 2\Sessions\
但是WIN7\8下WinSCP默认路径在:
C:\Users\USERNAME\AppData\Local\VirtualStore\Program Files (x86)\WinSCP\WinSCP.ini (64位操作系统)
C:\Program Files (x86)\WinSCP\WinSCP.ini (64位操作系统)
C:\Users\USERNAME\AppData\Local\VirtualStore\Program Files\WinSCP\WinSCP.ini (32位操作系统) - 专注网络安全2 p% t+ \* j$ r- a
C:\Program Files\WinSCP\WinSCP.ini (32位操作系统)
记忆中最早的就是这个
https://bitbucket.org/knarf/winscppwd/overview/ s, u+ I+ P0 n3 m: [
有源码提供下载,还有编译好的程序可供下载使用
https://bitbucket.org/knarf/winscppwd/downloads/winscppwd.exe
还有就是一个GO语言的
https://github.com/anoopengineer/winscppasswd/blob/master/main.go
package main
import (
"fmt"
"os"
"runtime"
"strconv"
)
const (
PW_MAGIC = 0xA3
PW_FLAG = 0xFF
)
func main() {
args := os.Args[1:]
if len(args) != 3 {
fmt.Println("WinSCP stored password finder")
fmt.Println("Open regedit and navigate to [HKEY_CURRENT_USER\\Software\\Martin Prikryl\\WinSCP 2\\Sessions] to get the hostname, username and