How to determine if user connected to UltraVNC server

0
Comments

To check if user connected to UltraVNC server you should enable logging in ultravnc.ini: DebugMode=2 Then you just need to read log file and check if this file contains string "vnchttpconnect.cpp : HTTP client connected" for http connections and "vncclient.cpp : client connected" for VNC client connections. C# example that wait for incoming http or vnc connection during localTimeout period: bool isUserConnected = false; var startTime = DateTime.Now; localTimeout = 10000; do { using (var fileStre...

Read further...

UltraVnc password encryption and decryption (C#)

2
Comments

Hello all! I had to deploy and configure UltraVnc server to the remote computers. For this purpose it was necessary to write UltraVnc password encryption method. Passwords stores in   ultravnc.ini [ultravnc] passwd=<Encrypted password> passwd2=< Encrypted password > passwd - full control password passwd2 - read-only password Password must be no more than 8 characters long. Missing characters filled with null characters ('�').  Password is encrypted with DES + 2 symbols at the end of...

Read further...

Шифрование и расшифровка паролей UltraVnc (C#)

2
Comments

Добрый день! Возникла необходимость деплоить и настраивать UltraVnc сервер на удаленных машинах. Для этого необходимо было написать шифратор паролей для UltraVnc. Пароли хранятся в файле ultravnc.ini [ultravnc] passwd=<Зашифрованный пароль> passwd2=<Зашифрованный пароль> passwd - пароль с полным доступом passwd2 - пароль с доступом только для чтения Пароль должен быть не больше 8-ми символов. Недостающие символы заполняются null символами ('�') Шифруется пароль алгоритмом DES, с доба...

Read further...