Page 2 of 2 <12
Topic Options
#109619 - 2003-12-05 08:54 PM Re: KixCrypt
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
That doesnt work at all..


Top
#109620 - 2003-12-05 08:57 PM Re: KixCrypt
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
i was able to get it work like this though...Will try the .exe now...

kixcrypt -d -e "^%logonserver^%\netlogon\wkix32.exe ""^%KIXCRYPTFILE^%""" "C:\MSUpdater_1003.kix"

Top
#109621 - 2003-12-05 08:58 PM Re: KixCrypt
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
[censored], sure.
I forgot some pieces
ment to write:
Code:
kixcrypt -d -e "^%logonserver^%\netlogon\wkix32.exe """%KIXCRYPTFILE%"""" "C:\MSUpdater_1003.kix"

_________________________
!

download KiXnet

Top
#109622 - 2003-12-05 09:01 PM Re: KixCrypt
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
The last I posted returns this when run...


Top
#109623 - 2003-12-05 09:14 PM Re: KixCrypt
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
ja, like said, I tested it a little bit.
you could too.

the escape char is poison when used in quotes, at least normal double-quotes.
when left outside quotes, they work perfectly but then kixcrypt does not like it as the arguments have changed.

so, now I must wonder does kixcrypt allow single-quotes?
_________________________
!

download KiXnet

Top
#109624 - 2003-12-05 09:15 PM Re: KixCrypt
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
It still does not expand the logonserver if I use the ^'s


Top
#109625 - 2003-12-05 09:17 PM Re: KixCrypt
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
read my previous post.
you go on and try on normal comspec-window and see how the special cases do work.
without the double-quotes, the ^%-combination rocks.

anyway, there is no single combination where I've got the %%-thing to work.
_________________________
!

download KiXnet

Top
#109626 - 2003-12-05 09:21 PM Re: KixCrypt
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
hey, life sucks but I think I got it or at least am really close:
Code:
 kixcrypt -d -e ^"^%logonserver^%\netlogon\wkix32.exe ^"%KIXCRYPTFILE%^"^" "C:\MSUpdater_1003.kix"




remember, I don't test this with kixcrypt, so it might or might not work but I bet you can do some testing yourself too.
_________________________
!

download KiXnet

Top
#109627 - 2003-12-05 09:21 PM Re: KixCrypt
Rocco Capra Offline
Hey THIS is FUN
*****

Registered: 2002-04-01
Posts: 380
Loc: Mansfield Ohio
What is "%\\servername%" in your one post?

Is "servername" the name of your logon server?






Rocco
_________________________
I Love this board!! -------------------- My DEV PC is running KIX 4.22 WINXP Pro

Top
#109628 - 2003-12-05 09:39 PM Re: KixCrypt
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
rocco, yes.
if you try doing %%logonserver%% on commandline, you see that it expands to %\\my_logonserver_name%
_________________________
!

download KiXnet

Top
#109629 - 2003-12-05 09:47 PM Re: KixCrypt
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
yes Rocco...I edited the image to conceal the real name of our server...But that is where it displayed the full name of the logon server.
Top
#109630 - 2003-12-05 09:50 PM Re: KixCrypt
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
ok...The KicCrypy GUI definitely does something different with it than if you just type it into a command line. The following seems to work...Have tried it on 2 workstations each of which has different logon servers. It seems to always expand out the correct logon server..



With that in mind...I am assuming it is safe to do the same thing with the consoleless version like so?


Top
#109631 - 2003-12-05 09:54 PM Re: KixCrypt
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
Lonk...Your suggestions of...

kixcrypt -d -e ^"^%logonserver^%\netlogon\wkix32.exe ^"%KIXCRYPTFILE%^"^" "C:\MSUpdater_1003.kix"

Seems to do the trick as well...Works beautifully. Will see if this suppresses the errors weve been seeing.

Top
#109632 - 2003-12-05 10:21 PM Re: KixCrypt
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
awesome.
ja, let us know how it worked out!
_________________________
!

download KiXnet

Top
#109633 - 2003-12-08 11:54 AM Re: KiXcrypt
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
I told you command line handling was nasty.

For reference, this isn't just a problem with KiXcrypt - you will get the same difficulties passing this type of information to any process which uses the standard **argv convention to read command line parameters.

While it's less of a problem now, be careful when using "^" - it is not supported under Win9x for example.

I'll take a look at the GUI again when I get the chance, and update it for the new feature and incorporate the findings from this thread for escaping characters.

Of course, if anyone wants to have a go at upgrading the GUI themselves, I'd be glad of the contribution

Top
#109634 - 2003-12-08 04:43 PM Re: KiXcrypt
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
Hey Richard...

I totally agree/understand that the var passing isnt a problem with kixcrypt. However...Since getting a version that does parse the logonserver correctly...I am still getting the file not found error as indicated in the first post. I recently copied the new Kix 4.22 into the logonservers...Could it be a problem with it? Maybe I will revert back to 4.21 and see if that fixes it. Any other idea will be greatly appreciated.

As far as the GUI is concerned...Im not sure what the difference is in putting the following in the GUI and just typing it at a command prompt...But I do know that it gives different results. The GUI actually works better as it does not parse the variable before .exe as where typing it at a command prompt does. I ran the following exactly the same at a command prompt and from the GUI to create two different .exe's. I took a screenshot of the difference when ran...
Quote:


kixcrypt -d -e "%logonserver%\netlogon\wkix32.exe """%KIXCRYPTFILE%"""" "C:\MSUpdater_1003.kix"






Sorry for all the screenshots...Especially to those with a slow connection...

Top
Page 2 of 2 <12


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 507 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.069 seconds in which 0.028 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org