Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

registry password

Post Reply
sgt-d
40
40
Posts: 81
Joined: 2005-03-29 04:46
Contact:

registry password

Post by sgt-d »

this has probably been covered a million times, i'm just not finding the information anywhere, so i thought i'd ask.

i am writing a delphi gui for distributing ultr@vnc and i need to add a password field to my gui that can be used to set the normal winvnc password.

i have a mixture of operating systems on the network, including 9x,nt,2k,xp, etc... so i can't use .reg files, and i'd rather avoid using them anyway because they are static in nature.

so, a dynamic password field is going to be used.

in winvnc i entered the password as "testing", no quotes.

in my edit box i also typed "testing", again, no quotes.

this is the line that enters the binary_data into the registry:

reg.writebinarydata('password2',pchar('testing')^,8);

but as you can see, i get different results:

winvnc: "Password"=hex:d7,88,a1,63,44,6f,47,32
my edit: "password2"=hex:74,65,73,74,69,6e,67,00

so my question i guess is... how is the winvnc edit box writing the data to the registy? i ran an ascii -> hex converter on a few sites, and what you see above for "password2" is 100% correct for "hex" values. is the password encrypted or something?
Last edited by sgt-d on 2005-06-10 16:46, edited 1 time in total.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Post by Rudi De Vos »

vnc use a fix key des encryption....
Encrypted, but not that secure..as the key is fixed
sgt-d
40
40
Posts: 81
Joined: 2005-03-29 04:46
Contact:

Post by sgt-d »

ok. that leads to two more quick questions...

if i save the password unencrypted... will it still work?

if not, how can i encrypt it so that it will work?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Post by Rudi De Vos »

You need to rewrite the
vncEncryptPasswd function in delphi and add it.
Post Reply