Groups
Groups
Sign in
Groups
Groups
golang-nuts
Conversations
About
Send feedback
Help
How to encrypt windows mstsc password use "CryptProtectData" ?
225 views
Skip to first unread message
wfuqi...@gmail.com
unread,
Nov 5, 2015, 12:04:30 PM
11/5/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
window rdp password encrypted
http://www.remkoweijnen.nl/blog/2007/10/18/how-rdp-passwords-are-encrypted/
winapi:
https://msdn.microsoft.com/en-us/library/windows/desktop/aa380261(v=vs.85).aspx
i find example code
http://play.golang.org/p/fD7mx2k4Yc
but encode password string is Incorrect.
detailed description:
http://stackoverflow.com/questions/33516053/windows-encrypted-rdp-passwords-in-golang
How do I do?
Tamás Gulácsi
unread,
Nov 5, 2015, 4:52:51 PM
11/5/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts, wfuqi...@gmail.com
In the linked in description, it uses WideString - so use UTF-16 instead of UTF-8 (Go native).
Encode with unicode/utf16.
Reply all
Reply to author
Forward
0 new messages