Skip to content

SyxAxis/gowinscputil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A utility written in Golang used to read the WinSCP INI file.

WinSCP is one of the more popular open source SFTP clients on Windows and having used it extensively I needed a way to read entries out of the WinSCP INI file and use them in golang code especially SFTP calls.

So I wrote this very basic, rough-around-edges util that will spit out the key WinSCP INI file metadata in JSON format to the STDOUT, which can then be converted to PowerShell/.Net objects.

This not to to be used production and I do not make any warranty on it. WinSCP stores a lot of infomation in relatively easy to extract clear text which is no secret and Martin Prikryl makes this very clear in his notes about WinSCP, that you should never store passwords in the INI. Feel free to use parts of my code purely for educational purposes.

( There is a REST server in there as well that most certainly should not be used as it will transmit sec info!! )

WinSCP utility, libraries and code are copyright and ownership of Martin Prikryl.

https://winscp.net/eng/index.php https://github.com/winscp/winscp https://github.com/martinprikryl

About

WinSCP INI reader util written in Golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages