Page 1 of 2 12>
Topic Options
#34562 - 2002-12-19 09:18 PM crypter.kix
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
Hello...I am trying to use the crypter.kix found here...

http://81.17.37.55/board/ultimatebb.php?ubb=get_topic;f=2;t=002979

If I use the suggested syntax I get an error stating the script was not found. It still creates the ccs file. I then get errors within the script when I run the ccs file that dont happen when I run it without encrypting it first.

;for encryption-> CodeC 2.0.kix $script=myscript.kix [$mode=long]

code:
wkix32.exe crypter.kix $script=script.kix [$mode=long]

;for decryption-> CodeC 2.0.kix $script=myscript.kix.ccs

code:
wkix32.exe crypter.kix $script=script.kix.ccs

Any ideas?

Top
#34563 - 2002-12-19 09:22 PM Re: crypter.kix
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
uuh aah !

first, thanks for trying it.

so, what is your kix version? and what is the first error with that ccs?

I'll check some stuff from my code collections against kix4.12 right now...
_________________________
!

download KiXnet

Top
#34564 - 2002-12-19 09:22 PM Re: crypter.kix
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
The error I get when trying to run the encrypted kix file is "Script error: ELSE without IF!"
Top
#34565 - 2002-12-19 09:24 PM Re: crypter.kix
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
The version of wkix32.exe I am using is "4.11.0.0".
Top
#34566 - 2002-12-19 09:25 PM Re: crypter.kix
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
did you specify full path in the argument?
and are you using the mode switch?
_________________________
!

download KiXnet

Top
#34567 - 2002-12-19 09:30 PM Re: crypter.kix
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
at least there is old e-mail address [Razz]

if you use the lighter encryption, have you tried that 1.0?
_________________________
!

download KiXnet

Top
#34568 - 2002-12-19 09:38 PM Re: crypter.kix
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
In the code brackets above in the first post is exactly what I typed to create the file. Opened cmd prompt and CD to where the scripts are kept. I dont seem to get the 'script not found' error if I leave the [$mode=full] off. But I still get the IF error when I run the ccs.
Top
#34569 - 2002-12-19 09:42 PM Re: crypter.kix
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
try changing that to:
$mode="long"
_________________________
!

download KiXnet

Top
#34570 - 2002-12-19 09:44 PM Re: crypter.kix
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
That fixed the first problem...Thank you very much. I knew I was just screwing up the syntax somehow.

Now I still get the IF errors like something is getting stripped from the code.

Top
#34571 - 2002-12-19 09:44 PM Re: crypter.kix
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
anyway, this should be outdated a little bit once we get the golf done.
I was thinking of incorporating some compression and such with little speed benefit.

will see.
_________________________
!

download KiXnet

Top
#34572 - 2002-12-19 09:45 PM Re: crypter.kix
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
can you mail me your code?
_________________________
!

download KiXnet

Top
#34573 - 2002-12-19 09:50 PM Re: crypter.kix
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
It has been mailed...
Top
#34574 - 2002-12-19 10:03 PM Re: crypter.kix
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
checking on the code...
_________________________
!

download KiXnet

Top
#34575 - 2002-12-19 10:31 PM Re: crypter.kix
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
shane, do you have tried to run the code with the splitted lines?
when I compined them I did not get any errors.

I tested with 4.12 wkix32 and kix32

if I recall correctly, it executes line by line.
so, splitted lines will brake it.

should add to header that...
_________________________
!

download KiXnet

Top
#34576 - 2002-12-19 10:48 PM Re: crypter.kix
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
Please forgive me...Im still new to scripting. What does...

"run the code with the splitted lines?"

mean? This is all of the code in the script.

code:
 SETCONSOLE("show")
$ProgramFilesDir=ReadValue ("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion", "ProgramFilesDir")
$ICAVer=GETFILEVERSION ("$ProgramFilesDir\citrix\icaweb32\wfica.ocx")
IF @ProductType="Windows 2000 Professional" OR @ProductType="Windows XP Professional"
IF $ICAVer<>"6.30.1050"
IF @Priv<>"ADMIN"
RUN "%COMSPEC% /c runas /user:DOMAIN\username %logonserver%\netlogon\ica32t.exe"
sleep 2
SENDKEYS ("password")
SENDKEYS ("{ENTER}")
ELSE
RUN "%logonserver%\netlogon\ica32t.exe"
ENDIF
ENDIF
ENDIF
IF @ProductType="Windows NT Workstation" OR @ProductType="Windows 95" OR @ProductType="Windows 98" OR @ProductType="Windows ME"
IF $ICAVer<>"6.30.1050"
RUN "%logonserver%\netlogon\ica32t.exe"
ENDIF
ENDIF
SETCONSOLE("hide")


Top
#34577 - 2002-12-19 10:50 PM Re: crypter.kix
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
The IF @Priv<>"ADMIN" part isnt even being run because it keeps trying to do the RUNAS when I run it and I am an Admin. When I run the unencrypted kix file it does not do the RUNAS.
Top
#34578 - 2002-12-19 10:54 PM Re: crypter.kix
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
that is the code I ran and did not complain about anything.
_________________________
!

download KiXnet

Top
#34579 - 2002-12-19 10:59 PM Re: crypter.kix
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
Maybe you have a different version of the crypting code or something? Oh well...
Top
#34580 - 2002-12-19 11:01 PM Re: crypter.kix
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
I loaded it from the page you linked.
only difference should be that I have newer kix exe.
_________________________
!

download KiXnet

Top
#34581 - 2003-01-28 08:28 AM Re: crypter.kix
Anonymous
Unregistered


Hi..

I just have a little question.. Is there any way i can make the "crypter.kix" to accept splitted lines when using if/then/endif (and others) statements ?
I have some pretty big if/endif statements that would be way to long if i don't split them.
When thats said.. They wont be to long to run, but much to long to read the code afterwards..

Any help would be nice...

-Tommy

Top
Page 1 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 1471 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.082 seconds in which 0.032 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