Page 1 of 1 1
Topic Options
#27375 - 2002-08-19 05:09 PM using wkix32 and wkixcrypt
Austin Offline
Seasoned Scripter

Registered: 2002-01-24
Posts: 439
My question is two fold...

I am trying to use wkix32 to call my program without the console. Every time I call the program I still get the console. I do not have any obvious "Output" in the script so I dont know why it is acting in this manner. I can of course use the -i to keep the console from popping up but this does not work for me because I want to use wkixcrypt and there is no way that I know of to use the -i in this method. I do not want to post the code because it is long.. I am just wondering if you may give me direction as to what I should be looking for.

Secondly is there a way to include wkix32.exe in the crypted file so that the wkix32.exe is not needed as a seperate exe in the directory that crypted.exe resides?

Thanks
_________________________
Austin Henderson

Top
#27376 - 2002-08-19 05:15 PM Re: using wkix32 and wkixcrypt
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
what you should be looking for is possible
cls

or if you use kixforms (or any other object):
$form.show()

wkixcrypt is not upgraded to 4.11 so those will tricker the window.

also if you use functions and don't suppress all returns even though they do not return anything they will tricker.

these later ones are handled as no-output with 4.11

the commands like "cls" will always tricker.

to include wkix32 in crypted exe you might want to use packager and make it self-extracting self-executing exe.
_________________________
!

download KiXnet

Top
#27377 - 2002-08-19 05:22 PM Re: using wkix32 and wkixcrypt
Austin Offline
Seasoned Scripter

Registered: 2002-01-24
Posts: 439
I am using objects.. is there no way to supress the console in this case?

How can I gaurantee the supression of output when a function returns?

Can you give direction to a packager you have used?
_________________________
Austin Henderson

Top
#27378 - 2002-08-19 09:44 PM Re: using wkix32 and wkixcrypt
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
I've used winrar. and some time ago winzip.

when you want to supress the functions return just place the value in some variable:

$nul=myfunction()
_________________________
!

download KiXnet

Top
#27379 - 2002-08-19 10:12 PM Re: using wkix32 and wkixcrypt
Austin Offline
Seasoned Scripter

Registered: 2002-01-24
Posts: 439
what about the objects?
_________________________
Austin Henderson

Top
#27380 - 2002-08-19 10:28 PM Re: using wkix32 and wkixcrypt
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
with object's it means you can't use such "shortcuts" that are not supressable...

or, don't use kixcrypt to crypt your code.

there is also crypter kix which has no known version dependencies and with it and packaging it is really secure. it does not even create the temporary uncrypted files like kixcrypt does.

you can find it in the script forum...

I'd go with search on crypter.
_________________________
!

download KiXnet

Top
#27381 - 2002-08-19 10:32 PM Re: using wkix32 and wkixcrypt
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
found it:
codec 2.0 http://81.17.37.55/board/ultimatebb.php?ubb=get_topic;f=2;t=002979
_________________________
!

download KiXnet

Top
#27382 - 2002-08-20 09:32 AM Re: using wkix32 and wkixcrypt
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Just to put the record straight. Again.

KiXcrypt (and wKiXcrypt) has no version dependencies.

Not only is it version independant it is language independant.

The encrypted file may be KiXtart, DOS Batch, VBS, Excel, Word, .EXE, text file or whatever you want. You decide what command line is used to start the application. By default KiXcrypt spawns a DOS environment using "%COMSPEC% /C kix32.exe".

If you want it to run silent, the following may help:
1) Use "wkixcrpt.exe"
2) Change the execute command to run "wkix32.exe /i" rather than "kix32.exe"
3) Use the "-c" option to disable the spawning of a new DOS session.

Your encrypt command will look something like:
code:
kixcrypt.exe -c MYSC





Top
#27383 - 2002-08-20 10:14 AM Re: using wkix32 and wkixcrypt
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Just to put the record straight. Again.

KiXcrypt (and wKiXcrypt) has no version dependencies.

Not only is it version independant it is language independant.

The encrypted file may be KiXtart, DOS Batch, VBS, Excel, Word, .EXE, text file or whatever you want. You decide what command line is used to start the application. By default KiXcrypt spawns a DOS environment using "%COMSPEC% /C kix32.exe".

If you want it to run silent, the following may help:
1) Use "wkixcrpt.exe"
2) Change the execute command to run "wkix32.exe /i" rather than "kix32.exe"
3) Use the "-c" option to disable the spawning of a new DOS session.

Your encrypt command will look something like:
code:
kixcrypt.exe -c MYSCRIPT.KIX wkix32.exe /i %s

This will help some way. You may get better results in a non Win9x environment by using "START". Something like:
code:
kixcrypt.exe -c MYSCRIPT.KIX start "SECRET!" /B wkix32.exe /i %s

Then call the encrypted script with "start /b" as well.

Try these, and let us know how you get on.

Top
#27384 - 2002-08-20 03:52 PM Re: using wkix32 and wkixcrypt
Austin Offline
Seasoned Scripter

Registered: 2002-01-24
Posts: 439
I was not able to make your sugguested command line work properly. I had to use the command:
code:
kixcrypt.exe -c pass.kix "wkix32.exe /i %s" 

to get the crypt to run. Then when it ran it is like it ignored the command that I entered for /i although it did call the wkix32.exe as opposed to kix32.exe.

Any thoughts on what I am doing wrong.
_________________________
Austin Henderson

Top
#27385 - 2002-12-03 05:04 AM Re: using wkix32 and wkixcrypt
MCA Offline
KiX Supporter
*****

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

Can you complete the story?
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
Page 1 of 1 1


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

Who's Online
1 registered (Allen) and 271 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.06 seconds in which 0.023 seconds were spent on a total of 12 queries. Zlib compression enabled.

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