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

My UltraVNC SC mod

This forum is for VNC related products | This means not only UltraVNC | It even is allowed to announce or describe commercial (and of course non-commercial) programs here (but not anywhere else in the forum)
Post Reply
Luk.o
8
8
Posts: 10
Joined: 2006-05-01 15:03

My UltraVNC SC mod

Post by Luk.o »

I've made a mod od UltraVNC SC. It's an early version so please be patient if you find any bugs in it. I'll be gratefull for any bug reports.

The mod supports few new commands in helpdesk.txt file. They are:

[RANDOMCODE]

If this is present it'll generate a pseudo random id (might be usefull if you want to use few VNC servers with one repeater.

[FETCHCODE]
exampleserver:777/path.txt

This will connect to a server exampleserver on port 777 and request via http path.txt file.In this file it expects a single number(text representation) which it'll use as an ID for the connection. It opens some possibilities for helpdesk web interface integration. When I have some time I'll add support for sending servers hostname, maybe other info configurable via helpdesk.txt as well.

[SMALLGUI]

If this is present, instead of the normal SC window it displays a small window without a list. The window has only two buttons Connect and Cancel. There is a text filed in a middle of it (TEXTMIDDLE).

[NOGUI]

If this is present there is no main gui window. It proceeds as if list entry has already been doubleclicked(connects or asks for id, depending on the rest of a configuration)

[DISPLAYID]

In my work as a support guy I've had users clicking "connect" before they've managed to remember the connection id. This option solves this little problem by displaying a window with your connection ID while VNC connects to the repeater and after. So users don't have to remember it or write it down.


You can download modified winvnc.exe at http://www.luk6669.plus.com/winvnc.zip
Also there is a sc.zip at http://www.luk6669.plus.com/sc.zip

If you unpack sc.zip at the root of C: you'll find all tools you need to play with Single Click in one place. There is a pack_it.bat file in c:\sc\folder. It uses files from c:\sc\files\ to create a custom sc.exe in c:\sc\temp\ folder.

Source code is available upon request.

P.S. Message edited to say that options: [RANDOMCODE], [FETCHCODE] and [ENTERCODE] are not compatible with each other so you should use only one at a time.

[mod=494,1148601389]moved to VNC related product and leaved a shadow to SC topic[/mod]
Last edited by Luk.o on 2006-05-25 23:56, edited 3 times in total.
Pepe
Posts: 3
Joined: 2006-05-17 10:10

Post by Pepe »

Hello,

It is posible add a new commands to disable file transfers?

Thanks
Pepe
x23piracy
8
8
Posts: 27
Joined: 2006-05-27 20:26

Re: My UltraVNC SC mod

Post by x23piracy »

Luk.o wrote:
[FETCHCODE]
exampleserver:777/path.txt

This will connect to a server exampleserver on port 777 and request via http path.txt file.In this file it expects a single number(text representation) which it'll use as an ID for the connection. It opens some possibilities for helpdesk web interface integration. When I have some time I'll add support for sending servers hostname, maybe other info configurable via helpdesk.txt as well.
Hi,

nice work but the Fetchcode feature will not work with my settings.

i tryed this:

i own the Domain www.sterbehelfer.de i just randomly generate under my linux system a file called path.txt in my www root

www.sterbehelfer.de:80/path.txt

So if i try to get that unique id your winvnc.exe just tell me that:
Server responded with unreadable ID.

What will this mean to me i thinked...
ok i just stopped my random script an manually made a new path.txt with just the number 1 in it.

then i tryed the number written like one or two also not work.

I made something wrong or just a bug in your exe ?
Can u pls send me your sourcecode ?


Greetings X23
Luk.o
8
8
Posts: 10
Joined: 2006-05-01 15:03

Post by Luk.o »

x23piracy wrote:
i own the Domain www.sterbehelfer.de i just randomly generate under my linux system a file called path.txt in my www root

www.sterbehelfer.de:80/path.txt

So if i try to get that unique id your winvnc.exe just tell me that:
Server responded with unreadable ID
Hi,

The content of a file has to be numeric. For example "1234" (without quotes)

Pepe wrote:
It is posible add a new commands to disable file transfers?
Yes, It would be quite simple, but I will not have much time in the next 3 weeks.

Luk

P.S. I've got lots of requests for a source code. It'll post it on to my ftp site(and send everyone a link) this afternoon.
x23piracy
8
8
Posts: 27
Joined: 2006-05-27 20:26

Post by x23piracy »

Yes, It would be quite simple, but I will not have much time in the next 3 weeks.

Luk
Hi,

i understand english know what numeric means ;)
my file is only numeric watch yourself and try it maybe with your winvnc.exe it just says unreadable ID. Pls try it by yourself with my url and u'll se.

www.sterbehelfer.de:80/path.txt

That contains like u said "1234" without quotes like 1234


Any Ideas ?



Greetings X23
Luk.o
8
8
Posts: 10
Joined: 2006-05-01 15:03

Post by Luk.o »

x23piracy wrote:
i understand english know what numeric means Wink
my file is only numeric watch yourself and try it maybe with your winvnc.exe it just says unreadable ID. Pls try it by yourself with my url and u'll se.
I'll try it today, in the meantime here you have a link to the source:

http://www.luk6669.plus.com/Z_SC_luk_mod.zip

Luk
Luk.o
8
8
Posts: 10
Joined: 2006-05-01 15:03

Post by Luk.o »

x23piracy wrote:
Pls try it by yourself with my url and u'll se.
I've tried. It doesn't work with your server because of a my very simplistic approach to http protocol :)

this is what we're sending:
GET /path.txt

and this is what server responds:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>406 Not Acceptable</TITLE>
</HEAD><BODY>
<H1>Not Acceptable</H1>
An appropriate representation of the requested resource /path.txt could not be found on this server.<P>
<HR>
<ADDRESS>Apache/1.3.33 Server at pre005.lifemedien.de Port 80</ADDRESS>
</BODY></HTML>

My server accepts such syntax OK, but your doesn't like it. I admit that formating request as GET http://servername/path.txt is a standard way of doing it not GET /path.txt. I'll fix it when I have some time (probably later today)

Luk
Luk.o
8
8
Posts: 10
Joined: 2006-05-01 15:03

Post by Luk.o »

I didn't have a chance to look at it yet.I'll do when I'm back from hollidays in 2 weeks.
Luk.o
8
8
Posts: 10
Joined: 2006-05-01 15:03

Re: My UltraVNC SC mod

Post by Luk.o »

Hi,

I've been quite busy lately (holiday season and such) so the promised bug fix comes a little late. Here it is:

Fixed winvnc.exe can be downloaded at: http://www.luk6669.plus.com/winvnc_r2.zip

SC.zip is at: http://www.luk6669.plus.com/sc_r2.zip

And the source code is at: http://www.luk6669.plus.com/Z_SC_luk_mod_r2.zip

Luk

P.S. If you're using [RANDOMCODE]. [FETCHCODE], or [ENTERCODE] you need to put "-id xxxxxx" in the host line like in the following example:

[HOST]
--------> Double click HERE to connect <--------
-id xxxxxx -connect 10.10.10.10:5900 -noregistry
Last edited by Luk.o on 2006-07-01 11:50, edited 1 time in total.
Pepe
Posts: 3
Joined: 2006-05-17 10:10

Re: My UltraVNC SC mod

Post by Pepe »

Hello,

Have you plans to implement the command to disable file transfers?

Thanks
Pepe
Luk.o
8
8
Posts: 10
Joined: 2006-05-01 15:03

Re: My UltraVNC SC mod

Post by Luk.o »

Hello,

Have you plans to implement the command to disable file transfers?

Thanks
Pepe
When I have some time maybe.

Luk
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: My UltraVNC SC mod

Post by redge »

Luk.o ,

When you have some time ;-)
could you add -autoreconnect feature to any winvncsc SC I ; SCII and SCIII ?

should be greatly appreciated :-)
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Post Reply