ShaneEP
(MM club member)
2003-11-24 05:19 PM
KiXCrypt giving error on random clients...

Out of about 500 there has been like 10 that alway get the..."ERROR : failed to find/open script!" error when calling a KiXCrypted .exe. Is this something that just happens sometimes? Or is there something I can check to try to troubleshoot further?

ShaneEP
(MM club member)
2003-11-25 04:56 PM
Re: KiXCrypt giving error on random clients...

Noone has any ideas? Figured I would atleast get the usual..."dont use kixcrypt...not secure" spill. Oh well...

Richard H.Administrator
(KiX Supporter)
2003-11-25 05:14 PM
Re: KiXCrypt giving error on random clients...

Didn't spot this post yesterday.

If the error is that consistant you should be able to track the cause down pretty quickly.

Create a special "debug" version, using the "-d" flag when you encrypt the script - for security reasons you cannot specify the "-d" flag at decrypt time.

When you run the debug version on the client you will get a load of debugging information - the bit that will probably provide most information is the expanded execution path.

Don't forget to remove the debug version afterwards!


ShaneEP
(MM club member)
2003-11-25 07:10 PM
Re: KiXCrypt giving error on random clients...

Thank you very much for the help Richard...

I re-compiled the .exe using the GUI included in 3.00b. Checked the display debug option and noticed it put the -d in the command at the bottom. But after I compiled it...It doesnt show anything when I run it. Do I have to create a console in the actual script for it to display?


Richard H.Administrator
(KiX Supporter)
2003-11-26 11:01 AM
Re: KiXCrypt giving error on random clients...

You should see debug info both as it creates the encrypted executable and again when you run it on the client.

You will of course have to use "kixcrypt" and not the console-less "wkixcrpt" otherwise there will not be a console to display the debug information on