Page 2 of 2 <12
Topic Options
#98368 - 2003-02-20 06:28 PM Re: INFO: KiXcrypt version 3.00b - KiXtart packager/encryption utility
Crazy Eddie Offline
Starting to like KiXtart

Registered: 2002-11-20
Posts: 105
Loc: Sacramento, CA USA
Richard,

It was my pleasure. This sort of thing should be handled responsibly. [Smile]

Ed
_________________________
{Insert your favorite Witty Tag Line here}

Top
#98369 - 2003-02-23 04:40 PM Re: INFO: KiXcrypt version 3.00b - KiXtart packager/encryption utility
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
great tool! been using it for some time now.

but... i need to know the directory of where the encrypted file was ran from.

Bryce

Top
#98370 - 2003-02-24 09:49 AM Re: INFO: KiXcrypt version 3.00b - KiXtart packager/encryption utility
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Ahem...
quote:
How do I use it
Read the documentation. Go on. I know it's boring...

[Wink]

To save you the trouble, here is the gen:

If you are encrypting a later version of KiXtart you have @SCRIPTDIR available. If you are not (or are not encrypting KiXtart at all) there are three environment variables set which you can use:
  • %KIXCRYPTVER% - The version of KiXcrypt used to create the package
  • %KIXCRYPTFILE% - The fully qualified path of the unencrypted primary file.
  • %KIXCRYPTDIR% - The directory where the files are unpacked.
HTH

Top
#98371 - 2003-02-24 04:48 PM Re: INFO: KiXcrypt version 3.00b - KiXtart packager/encryption utility
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
ok I know I am not going crazy because I did read the doc's and tried those enviroment variables [Smile]

code:
break on

"press ctrl+c to stop" ?

? "%KIXCRYPTVER%"
? "%KIXCRYPTFILE%"
? "%KIXCRYPTDIR%"

and I ran this after kixcrypt.

code:
C:\Jossh\online\JGRot-script>dir *.exe /b
jgrot-script.exe

C:\Jossh\online\JGRot-script>jgrot-script
Decrypting from KiXcrypt version 003.00b
KiXcrypt author: Richard Howarth (rhowarth@sgb.co.uk)
press ctrl+c to stop

003.00b
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\FLSIYBRJ.kix
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
C:\Jossh\online\JGRot-script>

I need to know where the EXE file was ran from.

[ 24. February 2003, 16:50: Message edited by: Bryce ]

Top
#98372 - 2003-02-24 05:09 PM Re: INFO: KiXcrypt version 3.00b - KiXtart packager/encryption utility
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Ok, so now I'm confused [Roll Eyes]

Do you mean that if your (encrypted) command is called "secure.exe" and is called from the netlogon share of "MYSERVER" you want to see the path \\MYSERVER\netlogon\secure.exe ?

Why would you want to do that? Are you trying to locate some additional files?

I'll add an extra environment variable in the next release if you would find it truly useful.

Top
#98373 - 2003-02-24 05:17 PM Re: INFO: KiXcrypt version 3.00b - KiXtart packager/encryption utility
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
I have been using kixcrypt to make stand alone exe packages [Big Grin] this lets me make secure code and a easy one click run for my users.

Yes I have config files that are local to the location of the exe file that I would like to be able to access. For now i have set the temp directory to equal "." just as a temp fix.

Top
#98374 - 2003-02-25 05:14 AM Re: INFO: KiXcrypt version 3.00b - KiXtart packager/encryption utility
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

The only issue is "how can we use administrator's username and password in
a secure way".

In some situations we have implement a short program which can be compiled
and which can be maked extremly secure. This program can verify in a fast
way "running on correct server", "username/password expires automatically",
"running at a certain time" and a lot of other checks are possible before
we create a child process, which executes a KiXcrypt output file with the
proper username/password combination.
KiXCrypt can handle parameters and new environment variables will be crea-
ted.
Of course we extend the program in such a way, that CTRL-C of CTRL-break
doesn't have any effect on it.

Our call looks like kixshell.exe update.exe or kixshell update.

For installation and updates we are using always a very specific user.
An user which can be disabled immediatly. An user which doesn't need to
be active without your knowledge.
greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#98375 - 2003-03-17 05:01 PM Re: INFO: KiXcrypt version 3.00b - KiXtart packager/encryption utility
krabourn Offline
Hey THIS is FUN
*****

Registered: 2000-12-11
Posts: 244
Loc: San Antonio, Texas, USA
Would it be possible to insert or associate an icon when the exe is made?
_________________________
Kelly

Top
#98376 - 2003-03-17 05:17 PM Re: INFO: KiXcrypt version 3.00b - KiXtart packager/encryption utility
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
The quick answer is "no".

If you manipulate the encrypted file in any way (such as inserting an icon) the file will be rejected as invalid.

Top
#98377 - 2003-03-17 07:53 PM Re: INFO: KiXcrypt version 3.00b - KiXtart packager/encryption utility
krabourn Offline
Hey THIS is FUN
*****

Registered: 2000-12-11
Posts: 244
Loc: San Antonio, Texas, USA
Oh well...

I thought it would be one of those finishing touches to have an icon for the exe.

Thanks

[ 17. March 2003, 19:54: Message edited by: krabourn ]
_________________________
Kelly

Top
Page 2 of 2 <12


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

Who's Online
1 registered (Allen) and 675 anonymous users online.
Newest Members
batdk82, StuTheCoder, M_Moore, BeeEm, min_seow
17885 Registered Users

Generated in 0.085 seconds in which 0.037 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