Common mistakes with creator tool

Single Click discussions / bugs
Gotakar
Posts: 1
Joined: 2015-10-04 17:42

Re: Common mistakes with creator tool

Post by Gotakar »

Same problem.

When the servers will back?
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6411
Joined: 2004-04-23 10:21
Contact:

Re: Common mistakes with creator tool

Post by Rudi De Vos »

As fast as possible, but it depend on the isp.
anvil
Posts: 2
Joined: 2015-11-06 11:02

Re: Common mistakes with creator tool

Post by anvil »

I have been trying to generate a config myself, without success.

Would it be possible to get the source code of the sc generator so that i can do it offline? if you have some sort of offline binary that would be cool too :)

Best regards,

JC
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6411
Joined: 2004-04-23 10:21
Contact:

Re: Common mistakes with creator tool

Post by Rudi De Vos »

The generator just make a 7zip sfx file.
You need 7zip
http://www.7-zip.org/

1) download
http://www.uvnc.com/custom.zip
2) http://support1.uvnc.com/cgi-bin/upload9.pl
select the zip, user foo passwd foobar
3) download custom.exe

You now can open the exe ( this is actual a 7zip sfx) with 7zip and extract to a folder.

You now can make all changes to the helpdesk.txt and test it by running winvnc.exe
When all settings are ok, open 7zip, add all files select create sfx

There exist also a 7zip sfx maker project, they just added some GUI to create the sfx
http://sourceforge.net/projects/sfx-maker/

The icon insite the exe is changed with a resource tool
http://www.angusj.com/resourcehacker/

Code: Select all

7z a -mx=9 -t7z UltraVncSC.7z winvnc.exe rc4.key MSRC4Plugin.dsm helpdesk.txt icon1.ico icon2.ico logo.bmp background.bmp enter.bmp
copy /b UltraVnc.sfx + config.txt + UltraVncSC.7z UltraVncSC.exe
UltraVncSC.7z=7zip sfx extractor (default name=7z.sfx)
config.txt

Code: Select all

;!@Install@!UTF-8!
Title="UltraVnc"
RunProgram="winvnc.exe"
;!@InstallEnd@!
anvil
Posts: 2
Joined: 2015-11-06 11:02

Re: Common mistakes with creator tool

Post by anvil »

Thank you Rudi.

I have been playing around with 7zip sfx and winvnc(SCII) that is available as a separate download as a workaround for the failure in gettin a propperly generated SC from the perl script.

I found a curious detail: winvnc behaves differently with the presence of the dlls and only presents the SC gui if they are present falling back to simple standard vnc server when they are not.

I did not realise that the user and password that you need to use on that web interface http://support1.uvnc.com/cgi-bin/upload9.pl was actually the one that you provided as i was trying to get it working with another credentials because i thought that it was some kind of credential that was going to be bundled with SC. As it turns out it's just some security measure you implemented on the perl script usage.

Anyway, that mistake made me dive into some basic of understanding on how SC works by trying out some things and going through the forum :)
Raystek
Posts: 1
Joined: 2016-06-13 13:54

Re: Common mistakes with creator tool

Post by Raystek »

The sc online generator is not working. I selected the zip file to upload but the page does not issue the download links. Thanks.
Frontier
8
8
Posts: 15
Joined: 2004-10-26 09:10
Location: Denmark
Contact:

Re: Common mistakes with creator tool

Post by Frontier »

Any idea about when the binaries on the page will be replaced with newer versions? Most Windows 10 PCs are having a hard time getting anything through...
jolvos
Posts: 2
Joined: 2018-05-12 20:02

Re: Common mistakes with creator tool

Post by jolvos »

First of all, thank you very much for your tools.

And second... Are online creator tools working? I mean, I've tested the "Experimental June 2015 win8 win10", and it seemed to work... Until yesterday.

I've even tried to upload a zip that was just the "vanilla custom" file (no folder in the middle, ofc) and still no luck. Also the plain "helpdesk.txt" alone zipped and also fails.
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6411
Joined: 2004-04-23 10:21
Contact:

Re: Common mistakes with creator tool

Post by Rudi De Vos »

temp folder was running out of space... cleanup should fix it
Chaka
8
8
Posts: 24
Joined: 2014-04-11 18:01

SecureVNC-Plugin with creator tool?

Post by Chaka »

Just tested last sc online creator method "May 2018 win10" here. It worked but only with unsecure msrc4plugin. Contained files in my zip-file like ClientAuth.pubkey and SecureVNCPlugin will be ignored. Is it possible to use the more secure plugin with online creator?

Second question: Whats the benefit using online creator then local creation? Local created executable are not signed, so most security suites have problems with my file. Therefore online creator would be the better way. Am I right?
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6411
Joined: 2004-04-23 10:21
Contact:

Re: Common mistakes with creator tool

Post by Rudi De Vos »

Indeed, the online creator sign the file.

Because we sign it, you can not upload exe, dsm or dll
You can only add the config, icon, bmp.

msrc4plugin is also secure, it only use a smaller key.

msrc4plugin make use of the buildin MS encryption -> no export restrictions
SecureVNCPlugin use openssl -> could be restricted
SpyMashine
Posts: 2
Joined: 2018-07-03 08:30

Re: Common mistakes with creator tool

Post by SpyMashine »

Hi, I tried "May 2018 win10" online creator but it runs without admin rights on start, also it show max 11 connection before scrollbar is visable.

In "June 2015 win8 win10" it runs with admin rights and show max 13 connection before scrollbar is visable.

Could you please make additional version, with admin rights prompts + 13 connection on list before scrollbar show?
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6411
Joined: 2004-04-23 10:21
Contact:

Re: Common mistakes with creator tool

Post by Rudi De Vos »

Added the admin right start, that's something on the website that needed to be set.

The max number is something in the code. I will change it next time i make a sc update.
Frontier
8
8
Posts: 15
Joined: 2004-10-26 09:10
Location: Denmark
Contact:

Re: Common mistakes with creator tool

Post by Frontier »

How about releasing manual tools to build on one's own server / PC? The last update is 3 years old :(
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6411
Joined: 2004-04-23 10:21
Contact:

Re: Common mistakes with creator tool

Post by Rudi De Vos »

Latest update isfrom this year ...

You can easy extract the downloaded exe with 7zip and play local with all settings.
(search google for 7zip sfx)
jBart
Posts: 5
Joined: 2017-03-19 14:49

Re: Common mistakes with creator tool

Post by jBart »

I created SC for Win10.
Starting SC and doubleclicking a host sometimes generates a Showmessage containing the commandline parameters. Instead I would have expected the reason of the error, so a user is now left clueless of what happened.
It can easily provoked by connecting SC to a host (host is shut down for this test) and quickly start a 2nd instance doing the same.

Today a client had just one instance running and got the commandline display also. We had no idea what the actual error was, and gave up, and had to use teamviewer.
Can this please be examined and fixed?

Another similar problem: SC immediately closes when the PC firewall blocks outgoing traffic. It would great to see an error message before closure.
eliotcougar
8
8
Posts: 11
Joined: 2020-12-13 13:25

Re: Common mistakes with creator tool

Post by eliotcougar »

I've been trying to make VNC SC to use the new Encryption plugin with the newest VNCViewer in Listen mode, but no matter what I try it does not work...
In the download section you say that support for SecureVNCPlugin.dsm has been added, but it is not clear how to set up the listening side...
VNCViewer 1.2.3-1.3.2 in listening mode with either SecureVNCPlugin.dsm or SecureVNCPlugin64.dsm can't establish connection with VNC SC...
Special VNC SC Viewers on the SC download page don't support newer SecureVNCPlugin, and the newest VNCViewers (1.2.3-1.3.2) don't support the older MSRC4Plugin for SC...
The only working combination seems to be the old SC Viewer for SC (1.1.9.5 at the top of SC download page) with MSRC4Plugin, and SC client built with May 2018 win10 SC builder...

I don't understand what the purpose of the Listen mode is in the newest VNCViewer if none of the VNC SC can connect to it...
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6411
Joined: 2004-04-23 10:21
Contact:

Re: Common mistakes with creator tool

Post by Rudi De Vos »

Retested:
Sc is working with 1.3.2 and SecureVNCPlugin.dsm

1) viewer 64 bit + 64bit plugin SecureVNCPlugin64.dsm
2)helpdesk.txt, entry with and without encryption
[HOST]
Internet support
-connect localhost:5500 -noregistry

[HOST]
Internet support encryption
-secureplugin -connect localhost:5500 -noregistry

https://www.uvnc.com/downloads/single-c ... loads.html
Last creator, buttom
win10 Same as pevious, but exe request UAC on start
-Added support for the SecureVNCPlugin
Howto
*Add SC_Server_ClientAuth.pubkey to zip
helpdesk.txt
[HOST]
Internet support new encryption
-secureplugin -connect localhost:5500 -noregistry
Viewer
Make sure the viewer use also SecureVNCPlugin.dsm and call the viewer key SC_Viewer_ClientAuth.pkey
if only one pkey exist you don't have to rename it.
eliotcougar
8
8
Posts: 11
Joined: 2020-12-13 13:25

Re: Common mistakes with creator tool

Post by eliotcougar »

Rudi De Vos wrote:Retested:
Sc is working with 1.3.2 and SecureVNCPlugin.dsm

1) viewer 64 bit + 64bit plugin SecureVNCPlugin64.dsm
2)helpdesk.txt, entry with and without encryption
[HOST]
Internet support
-connect localhost:5500 -noregistry

[HOST]
Internet support encryption
-secureplugin -connect localhost:5500 -noregistry

https://www.uvnc.com/downloads/single-c ... loads.html
Last creator, buttom
Tried to reproduce... Created new key pair, put SC_Viewer_ClientAuth.pkey into my 1.3.2 Viewer x64 with DSMPlugin x64... Generated new SC with SC_Server_ClientAuth.pubkey...
After several seconds of "Negotiate protocol version" I'm getting Server closed connection -ManualClosed -Network disconn message in the viewer...

I thought maybe I have a conflict with other keys I have in my Viewer, so I randomly renamed SC_Viewer_ClientAuth.pkey to -SC_Viewer_ClientAuth.pkey
And for some reason VNC OC managed to connect with encryption this time... Ummm... What???
While laughing, I tested other symbols in front of SC_Viewer_ClientAuth... Adding letters does not work (Server closed connection), but any numbers do... Exclamation mark works, but underscore does not...

When I use SC_Viewer_ClientAuth.pkey and try to connect, vncviewer in listening mode often crashes... I have tons of vncviewer crash logs:
Exception 0xc0000005 in SecureVNCPlugin64-tmp.d1_unloaded version 2.4.1.0

Reverting to version 2.4.0.0 of DSMPlugin (published on this site) resolved viewer crashing issue, but didn't help with connecting if the key is named "SC_Viewer_ClientAuth.pkey"...

In the end, it was fun, but this setup is still suboptimal because there's no file transfer, no chat, and no support for most encoders... I would really like Tight or Ultra2 support in SC for helping those people who have slow internet connection... Right now it only seems to use ZRLE or Hextile...

UPDATE: Now I wonder, where did I get that v2.4.1 plugin?.. I can't find it anywhere on the Internet... And I've just discovered that it crashes the server too when I click the Config button... Hmmm... Version 2.4.0 is fine, though...
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6411
Joined: 2004-04-23 10:21
Contact:

Re: Common mistakes with creator tool

Post by Rudi De Vos »

Verified.
2.4.1 is the dsm plugin that's used for more then a year.
It was a security update of the openssl version.

It's the plugin that get installed whet you run the setup.

It's also the plugin i used to test SC and the vncviewer

Rebuilding plugins with Opelssl-1.1.0f and also 1.1.1i

https://www.uvnc.eu/download/132/Secure ... 1.1.1i.zip
https://www.uvnc.eu/download/132/Secure ... 1.1.0f.zip

I can repeat the crashed with any version, can you verifi if this behave better.

1.1.1 openssl libs, own build
1.10 prebuild libs
eliotcougar
8
8
Posts: 11
Joined: 2020-12-13 13:25

Re: Common mistakes with creator tool

Post by eliotcougar »

Rudi De Vos wrote:Verified.
2.4.1 is the dsm plugin that's used for more then a year.
It was a security update of the openssl version.

It's the plugin that get installed whet you run the setup.

It's also the plugin i used to test SC and the vncviewer

Rebuilding plugins with Opelssl-1.1.0f and also 1.1.1i

https://www.uvnc.eu/download/132/Secure ... 1.1.1i.zip
https://www.uvnc.eu/download/132/Secure ... 1.1.0f.zip

I can repeat the crashed with any version, can you verifi if this behave better.

1.1.1 openssl libs, own build
1.10 prebuild libs
Tested SC connection, even generated the new key pair for that – and got the same results – Connection closed error if the pkey is named as it should be, and normal connection if I rename it to -SC_Viewer_ClientAuth.pkey or 1SC_Viewer_ClientAuth.pkey... (This is a weird bug)
With the normal client/server both your new versions don't seem to crash through loopback at least... They also seem to operate well with older 2.4.0 server... Cannot test more, very drunk now... Happy New Year!..
boman
Posts: 1
Joined: 2021-10-25 12:58

Re: Common mistakes with creator tool

Post by boman »

Hello Rudi,

I'm also struggling with getting a secure connection on SC to work. The unsecure connection is working flawlessly.

My helpdesk.txt:

Code: Select all

[TITLE]
UltraVnc SC

[HOST]
Internet support
-connect myexternalip.com:5500 -noregistry

[HOST]
Internet support encryption
-secureplugin -connect myexternalip.com:5500 -noregistry

[TEXTTOP]
Dubble Click to make a connection

[TEXTMIDDLE]
Before making a connection

[TEXTBOTTOM]
Please Call 56 576896 to get your ticket

[TEXTRBOTTOM]
(empty to clean line)

[TEXTRMIDDLE]
Kasteelpleinstraat 56

[TEXTRTOP]
Ultravnc PC support

[TEXTCLOSEBUTTON]
Close

[TEXTBUTTON]
More Info

[WEBPAGE]
http://www.ultravnc.net

[BALLOON1TITLE]
Trying to connect

[BALLOON1A]
line 1

[BALLOON1B]
line 2

[BALLOON1C]
line 3

[BALLOON2TITLE]
Connected to

[BALLOON2A]
line test1

[BALLOON2B]
line test2

[BALLOON2C]
line test3

[DIRECT]
Balloon1 = While trying to connect
Balloon2 = During connection
Installed UltraVNC_1_3_42_X64_Setup.exe
Copied SecureVNCPlugin10.dsm and SecureVNCPlugin1064.dsm from SecureVNCPluginOpelssl-1.1.1i.zip (also tried from SecureVNCPluginOpelssl-1.1.0f.zip) to C:\Program Files\uvnc bvba\UltraVNC

Started vncviewer.exe under security tab selected SecureVNCPlugin1064.dsm, "Config encryption plugins", "Generate Client Authentification Key) stored them on the Desktop. "Generate Server Key" stored on Desktop and saved settings in vncviewer.exe. After that I closed the viewer.

Copied the 3 files to C:\Program Files\uvnc bvba\UltraVNC, started vncviewer.exe, started Listen mode on Port 5500

Copied the 20211025_Server_ClientAuth.pubkey into my zip file. Created the SC with the latest form (upload11.pl).

As mentioned, I can connect with a unsecure connection. However the secure connection does not work: Connection closed (1) Server closed connection -Manual closed -Network disconn
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6411
Joined: 2004-04-23 10:21
Contact:

Re: Common mistakes with creator tool

Post by Rudi De Vos »

Sorry for the late answer.

Just retested.
1) I uploaded a zip with only the helpdesk.txt to get a sc.exe
2) Using 7zip i extracted the files to a folder ( the sc.exe you download is an 7z self extracting archieve)
In the file you find
background.bmp
enter.bmp
icon1.ico
MSRC4Plugin.dsm
SecureVNCPlugin.dsm
ddengine.dll
winvnc.exe
helpdesk.txt
3) renamed winvnc.exe to winvncSC.exe
4) added winvnc.exe full version
5) started winvnc.exe selected the SecureVNCPlugin.dsm and created 2 keys
20211205_Viewer_ClientAuth.pkey
20211205__Server_ClientAuth.pubkey
6) renamed keys
20211205__Server_ClientAuth.pubkey -> SC__Server_ClientAuth.pubkey
7) copied 20211205_Viewer_ClientAuth.pkey to a folder with vncviewer.exe, also make sure put a copy of the plugin
in that folder.

8 ) Start the viewer in listening mode
9) Start winvncSC.exe

If this works, zip helpdesk.txt and SC__Server_ClientAuth.pubkey and upload to create a new packages.

uploaded my testfiles in a zip.
I tested with server and viewer on the same pc and all still seems to work.

https://www.uvnc.eu/download/1352/winvncSC_test.zip
pk-vnc
Posts: 1
Joined: 2022-01-07 09:02

Re: Common mistakes with creator tool

Post by pk-vnc »

Hello everyone , and Happy new year !
thanks so much Rudi for your effort regarding the great program of Uvnc ... !!
Lots of documentation though are outdated , and especially the SC info related (which I'm very interested in ...)

could someone start a new forum about installing SC "from scratch" , by using latest build of vnc programs ?? (at least 1.3.x and later...)
I would be more than happy to "sponsor/donate" some small fee , to have it ready for all users , in general

Also I got confused for other products as well, for example diff between SC, and SC-III ?? (just an SC ver that uses repeater ?? something else ??)
what is uvnc2me ? another alternative to SC ?? or completely diff approach ??

Sorry for my questions, but such a great program need updates on documentation , and some "clearing" of old / deprecated forum info would be beneficial

Again, MY BEST WISHES to eveyryone that supports Uvnc ,
BR
Panos
Post Reply