#98370 - 2003-02-24 09:49 AM
Re: INFO: KiXcrypt version 3.00b - KiXtart packager/encryption utility
|
Richard H.
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...
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
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
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
   
Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
|
Ok, so now I'm confused
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
KiX Supporter
   
Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
|
I have been using kixcrypt to make stand alone exe packages 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
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.
|
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 476 anonymous users online.
|
|
|