Teen Programmers Unite  
 

 

Return to forum top

VBScript Encoding (HELP ME)

Posted by Spyder_Y3K [send private reply] at July 05, 2002, 09:15:11 PM

I've been trying to learn how to encode .vbs files for about a week now....but i still havent found anything or anyone that knows how to do it.......if anyone knows how to encode .vbs files (without using MS Script Encoder) please show me.......thanx in advance

Posted by sphinX [send private reply] at July 05, 2002, 10:45:51 PM

Why don't you want to use the MS Script Encoder?

Posted by Spyder_Y3K [send private reply] at July 06, 2002, 03:23:54 AM

Well one reason is because theres a MS Script Decoder...and I feel better when I know that I encoded it....do you know how to ?

Posted by metamorphic [send private reply] at July 06, 2002, 06:24:39 AM

Why would you want to encode a script anyway? the only people i know of that encode scripts are virus writers.

Posted by Spyder_Y3K [send private reply] at July 06, 2002, 02:47:51 PM

There are many people on the net that want their scripts encoded so that people who cant write their own dont steal the theirs, and if the only people you know that encode their scripts are virus writers...I feel sorry for you. :)

Posted by sphinX [send private reply] at July 06, 2002, 09:58:05 PM

If you encode your scripts with something other than the MS Script Decoder, will a users browser know how to decode and run them?

Posted by Spyder_Y3K [send private reply] at July 07, 2002, 12:30:16 AM

I guess so...because there's a key or something that the browser uses to read and process the script....or did you already know the answer to that ?

Posted by metamorphic [send private reply] at July 07, 2002, 07:17:57 AM

As long as a users browser has the 'view source' opion of a webpage they will always be able to see your script, unless it is run server side such as PHP or ASP.

Posted by Spyder_Y3K [send private reply] at July 07, 2002, 11:03:58 PM

They might be able to see the script but if it is encoded then all they'll see is the encoded script....

Posted by gian [send private reply] at July 08, 2002, 01:37:35 AM

Yeah, and this will work on any browser I'm assuming? Your script will be robust and easy to execute without the aid of a plugin?

Posted by AngelOD [send private reply] at July 08, 2002, 04:23:17 AM

Or he may just be targetting the majority of users.. The ones using IE. (Something I'm totally against, mind you)

Posted by metamorphic [send private reply] at July 08, 2002, 06:10:20 AM

"They might be able to see the script but if it is encoded then all they'll see is the encoded script.... "

but then they could just use MS script decoder ;)

Posted by Spyder_Y3K [send private reply] at July 08, 2002, 04:42:17 PM

Thats what my first post was againt (MS Script Encoder)
"if anyone knows how to encode .vbs files (without using MS Script Encoder) please show me.......thanx in advance"

Posted by gian [send private reply] at July 08, 2002, 05:44:25 PM

Well it seems that it either:
a) Can't be done
b) No one here knows how to do it.
c) All of the above

Posted by Spyder_Y3K [send private reply] at July 08, 2002, 07:30:07 PM

Yea thats what I thought but i'll go with B)...thanx for to everyone that tried to help :)

Posted by sphinX [send private reply] at July 09, 2002, 02:46:38 AM

Well, I suppose my concern is, if you encode your script with something other than the MS Script Encoder, a user's browser will not be able to unencode it because it will be trying to use the MS Sciprt Decoder, which I assume is built into IE. If you encode your script with something else, you'll need need to provide a way to unencode it. However, if the encoder was able to attach header code to the script that would unencode it on the fly, then I suppose it would work ... kind of like executable compressors.

Posted by buzgub [send private reply] at July 09, 2002, 07:51:04 AM

But then a sufficiently clever person could use the attached decoding stuff to get a cleartext version of the script.

Posted by sphinX [send private reply] at July 10, 2002, 01:32:34 AM

Exactly, and thus the need to encode with anything other than the Ms Script Encoder is nullified.

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.