Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: 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://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

SecureVNCPlugin64.dsm

Single Click discussions / bugs
Post Reply
cliffyb1
Posts: 5
Joined: 2011-03-01 15:51

SecureVNCPlugin64.dsm

Post by cliffyb1 »

I have been trying to get this plugin to run on my SC connection without any luck.

-Generated pubkey and pkey. both keys stored in ultravnc program files

viewer setting:

-dsmplugin SecureVNCPlugin64.dsm -listen 5500

sc.exe setting:

-plugin -connect xxx.dyndns.com:5500 -noregistry

click sc.exe / nothing happens sits listening, close, error pops "no dsmplugin specified the server is using dsmpluging

run sc.exe without -plugin
connects screen pops up for a second then closes but it quickly shows that it's trying to use the dsmplugin

I have not put anything in my custom.zip should there be a pkey file in my custom.exe?

Thank you in advance for any help
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: SecureVNCPlugin64.dsm

Post by redge »

old SC know only single name of encryption plugin aka msrc4plugin.dsm

so for SC file you need to rename for your custom file SecureVNCPlugin64.dsm --> msrc4plugin.dsm


if you use new SC based 2010, already use SecureVNC, don't remember if have version 64bit
is better to use chunkvnc or scprompt

1. try easy without pkey and pubkey, don't try complex.
if success, then you can go next step so you know where is the mistake.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
cliffyb1
Posts: 5
Joined: 2011-03-01 15:51

Re: SecureVNCPlugin64.dsm

Post by cliffyb1 »

Yes, the connection works with no encryption and no keys

Yes, the connection works with MSRC4Plugin.dsm sharing the rc4.key file

To specify another dsmplugin such as SecureVNCPluginARC4.dsm I would

-copy SecureVNCPluginARC4.dsm to my custom.exe file

-Rename SecureVNCPluginARC4.dsm to MSRC4Plugin.dsm in custom.exe

**Do I have to rename SecureVNCPluginARC4.dsm to MSRC4Plugin.dsm in my c:\program..uvnc directory over writting current file?

**Do I generate key files from viewer with renamed securevnc.plugin

-Copy Server_ClientAuth.pubkey to custom.exe

-Specify -plugin - connect XXX.XXX... in helpdesk.txt

**Do I leave: vncviewer.exe -dsmplugin MSRC4Plugin.dsm -listen 5500

Host Viewer UVNC 1.0.8.2
Client UVNC win32 server sc 20.4

Thank You for the Help!! I'm so close..... :) :)
cliffyb1
Posts: 5
Joined: 2011-03-01 15:51

Re: SecureVNCPlugin64.dsm

Post by cliffyb1 »

I have tried to rename SecureVNCPlugin64.dsm to mrsrc4plugin.dsm but I still can not make it work.

Can anyone that has configured the newer dsm's to work using the renaming technique please provide me with some step by step instructions on how to?

Thanks in advance
Last edited by cliffyb1 on 2011-03-03 22:14, edited 1 time in total.
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: SecureVNCPlugin64.dsm

Post by redge »

all the key must be generated from the server, not from viewer
then copy the files without any modification to vncviewer folder

also, did you try with vncviewer 1.0.9.5

or 1.0.9.5.1
http://www.uvnc.eu/download/winvnc10951O.zip
x64 bit
http://www.uvnc.eu/download/vncviewer_x64_10951P.zip
Last edited by redge on 2011-03-04 00:30, edited 1 time in total.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

Re: SecureVNCPlugin64.dsm

Post by YY »

cliffyb1 wrote:I have been trying to get this plugin to run on my SC connection without any luck.

-Generated pubkey and pkey. both keys stored in ultravnc program files
I had make a successful SC connection with SecureVNCPlugin (not SecureVNCPlugin64)

I don't have a 64bit system to test, but I believe only the 32bit SecureVNCPlugin is working under SC, as the winvnc.exe of SC is most likely a pure 32bit program.


At viewer end, you need to have the pkey only, my setting is:
-dsmplugin SecureVNCPlugin.dsm -listen 5500


cliffyb1 wrote:I have not put anything in my custom.zip should there be a pkey file in my custom.exe?
This is the problem, the pubkey is required at the sc.exe package. But if you want to creat the sc.exe by using the online creator, there are some tricks:

1. The SecureVNCPlugin.dsm must be put into custom.zip. But SC knows the name msrc4plugin.dsm only, so you must rename it as msrc4plugin.dsm
2. The pubkey must be put into the custom.zip. But the online creator will remove all key file other than the one named rc4.key, so you must rename it as rc4.key
3. Then you can upload the customer.zip, but you should use the RC23 or Rel.1 creator only. Don't use the 2009 creator, as it always provide its own msrc4plugin.dsm (ver 1.2.4.0)
4. Finally, when you download the SC (custom.exe), you must rename the pubkey file (you had named it as rc4.key) to its original name (it should be something like xxxxx_Server_ClientAuth.pubkey). You may use 7-zip to open the sc.exe and making the change.


That it!
Last edited by YY on 2011-03-04 03:09, edited 1 time in total.
cliffyb1
Posts: 5
Joined: 2011-03-01 15:51

Re: SecureVNCPlugin64.dsm

Post by cliffyb1 »

Thank You so much Redge and YY your tips/tricks worked perfectly :wink: :D I never would have figured that out without your help
Last edited by cliffyb1 on 2011-03-15 18:13, edited 1 time in total.
racassel
8
8
Posts: 27
Joined: 2007-09-10 23:31

Re: SecureVNCPlugin64.dsm

Post by racassel »

This is nice, but with unsigned DLL, the program generate a red WARNING THIS PROGRAM MAY HARM YOUR COMPUTER is not professional when helping clients.
Its a lot of work, to find out this flaw. When will the compiler be fixed to generate sc.exe with updated to work with SecureVNCplugin.dsm ?
racassel
8
8
Posts: 27
Joined: 2007-09-10 23:31

Re: SecureVNCPlugin64.dsm

Post by racassel »

Can you then also replace winvnc.exe and vnchooks.dll with the latest 1.0.9.6.2 version to take advantage of all the improvements since 2005 version?
Post Reply