What OS's are you running on?  I may be able to help you.  I took the vnc
password source and put it into a separate app with registry access.  It
allows you to read and write passwords on the local and remote machines.
However, I have only tested it on NT 4.0 -> NT 4.0 scenario's.

Jacob

-----Original Message-----
From: Alex K. Angelopoulos [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 19, 2002 12:51 PM
To: [EMAIL PROTECTED]
Subject: Re: vncpasswd for Windows


I hadn't thought about that, but the decryption mechanism I have works from
the
registry value, not the transmitted text - it's just the same thing as the
internal check VNC does to compare the password in the registry to what it
has
received.  What I'm after, though, is to encrypt a text password so that it
can
be put into the registry on the fly.

Currently it's a pain in the rear to do batch updates to Windows VNC server
passwords since you have to set up the password on the system, then export
it to
a plain-text REG file.  Even worse, you then have the text representation of
the
binary password sitting in a file somewhere - and someone else can easily
come
along and decrypt it.




----- Original Message -----
From: "Sharma, Shashi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, 2002-04-19 11:50
Subject: RE: vncpasswd for Windows


> I dont think you can get the cleartext from the password.
> The file which does the job of authenticating is d3des.c file in the
source
> code.
>
> The way it works on the vnc is
> server sends a challenge to client ->16 bytes
> client reads the challenget and then encyrpt it with the password
> and send back the response.
> Server knows the challenge it sent and then compare it with what it
expects
>
>
>
> -----Original Message-----
> From: Alex K. Angelopoulos [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 19, 2002 9:06 AM
> To: VNC Mailing List
> Subject: vncpasswd for Windows
>
>
> I asked about this over the weekend and didn't get a response at the time
> (it
> *is* an oddball question).
>
> I'm looking for some info on implementing an equivalent of the Unix
> vncpasswd on
> Windows.  I can't seem to port the Unix version very easily, even with
> substantial changes, probably due to my limited knowledge of C/C++. I'm a
> little
> curious about the actual algorithm used for the DES3 encryption; I have
also
> found a *decryption* scheme which works on Windows, but I am having issues
> with
> un-reversing it and would find it much easier if anyone can point out some
> basic
> info on how the encryption process is done.
> ---------------------------------------------------------------------
> To unsubscribe, mail [EMAIL PROTECTED] with the line:
> 'unsubscribe vnc-list' in the message BODY
> See also: http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, mail [EMAIL PROTECTED] with the line:
> 'unsubscribe vnc-list' in the message BODY
> See also: http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to