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

Encrypting VNC password

Single Click discussions / bugs
Post Reply
Hakkie
Posts: 1
Joined: 2006-07-18 12:48

Encrypting VNC password

Post by Hakkie »

Hi all, I'm new to this forum and got here searching for a vnc forum. First of all, I am NOT a hacker eventhough my question is related to the vnc password encryption. There are many 'tools' available to decrypt the password. I am looking for code to encrypt a password. The story:
One of my hobbies is airliners/planes. I am a special member of www.atcbox.com. This site offers many airline related stuff for free, mainly targeted at users from The Netherlands. Recently an option was added to watch live radar traffic via VNC Viewer. Due to unexpected popularity this service created a big impact on the bandwith and costs. Therefor it was decided to make it available only to users that made a one time donation of €10,--. There is absolutely no commercial intention! Each day the VNC server uses a different TCP port and password. The users have to login on the site to gather this info. Now on to the question:
I wrote a little Visual Basic 6 application that gathers the port and password from the site. It then creates a .vnc file and starts the VNC Viewer with this file. At the moment I am calling vncpwd.exe from within the vb6 app to encrypt the daily password. My app calls vncpwd.exe which outputs the result -the encrypted password- to a textfile. Then my app opens this file to read the encrypted password. For some reason (timeout?) calling vncpwd.exe sometimes does not work properly. I'm glad this tool is available, otherwise my app would be useless. On the other hand, shelling out to vncpwd.exe also is the 'weakest' part of the app. Now I'm only an amateur programmer, so there might be another way. What I would prefer is to encrypt the password within my vb6 code so I don't have to shell to the exe. Do you know if there is a code/class/module available that I can integrate in my app? Or maybe you have another suggestion? Any help is much appreciated, thanks!
Dwalf
40
40
Posts: 112
Joined: 2005-08-25 01:02

Re: Encrypting VNC password

Post by Dwalf »

Hakkie wrote:I'm only an amateur programmer!
I use AutoIt to do all my stuff. Its easy.. very easy to pickup and learn some basics. These days they even have some nice TCP/IP addins. You can open ports and talk to ports and all sorts. Email , i think someone has even writen his own webserver in Autoit!! thats powerfull. And not hard.
If you look at some of the scripts they guys make in Autoit you can find loads of stuff. I know one of the example apps in Autoit encrypts. Not sure if its going to do what you want.

Cheers
Dwalf
Post Reply