mIRC Home    About    Download    Register    News    Help

Print Thread
#151027 12/06/06 02:44 PM
Joined: Jun 2006
Posts: 1
D
DremthB Offline OP
Mostly harmless
OP Offline
Mostly harmless
D
Joined: Jun 2006
Posts: 1
I think there should be compiled mIRC scripts so no one can see the contents of the script and what it does. Or I think you should be able to lock your script with a password so no one can view the script unless they enter a password.
It would also be cool to be able to compress images, sounds, text files, etc and embed them into the scripts, so if a script needs images or sounds or whatever they are all in one easy file.

#151028 12/06/06 03:21 PM
Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
The ability to abuse such a feature would far far far outweigh any use it would supply. If you're worried about people ripping your code then don't release it, that has always been the way for mIRC scripts, and I doubt any feature will ever be introduced to circumvent users' ability to read what they load into their mIRCs.

Regards,


Mentality/Chris
#151029 12/06/06 04:57 PM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
I doubt you would want to embed images in a script, as they are then loaded in active memory. You might have 1.5gig of ram available on your system, but I woulld guess it would still have an impact.

#151030 12/06/06 08:54 PM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
my opinion of this is simple - I would distrust ANY script that was hidden like this. There is NO code THAT valuable that it needs protecting and point blank, if I cant read the code to see what's going on, I wouldnt even bother with the script (even if it came from a trusted source).

Call it paranoia if you want to, but I'll be paranoid while somebody else has a system wide virus that destroys their data - or worse and yes, that is all I see coming out of "locked script files".


Those who fail history are doomed to repeat it
#151031 12/06/06 09:31 PM
Joined: Apr 2004
Posts: 759
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 759
I dont share your fear for compiled scripts: just as people shouldn't load up unknown exe files the same would apply to a compiled script. Alot of security features could be build into the compiler such as only allowing file handling (deleting/modifying) on files in $scriptdir and subfolders, no external file loading etc etc but even so a C++ build exe file could be just as malicious as a compiled mIRC Script.

Now that's all im going to say as creating a mIRC Script compiler is a massive task on its own and i wonder if someone can even bother.


$maybe
#151032 13/06/06 04:24 PM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
It's not a fear of abuse, it's a known history of abuse with features. The abuse of the past has been proven time and again wont stop. People take what Khaled writes and warps it - not EVERYBODY, I know, but still. People who have been on this board and/or used mirc for a number of years has run into this situation time and time again. All Im saying is that IF this is done, *I* wont ever use a compiled script. if others want to, it's on them but if their computer breaks due to malicious coding, you know what would happen:

"X" Broke my PC

"Did you use a compiled script?"

"Yes, but I trusted the source"

"Your loss. You were warned over and over not to use it and you did" (or)

"Sorry, there's nothing we can do. You have to know what you're using can be dangerous and assume responsibility for your own actions. While we (as the mirc board) regret your results, we can not help you at all."


This is one feature I hope doesnt get implemented though if it does, I hope, almost fruitlessly, that people will use common cents when mucking around with this stuff.


Those who fail history are doomed to repeat it
#151033 14/06/06 07:37 PM
Joined: Oct 2003
Posts: 88
B
Babel fish
Offline
Babel fish
B
Joined: Oct 2003
Posts: 88
I have writen code that lets you compress images into your scripts. Youll need to recode $decode to use it though, becuase its turned off by default.

http://phantomircd.cvs.sourceforge.net/p...amp;view=markup

I beleive some one else addapted that code to include a dialog interface to packing.


Basicer - Windows 7 Business x86
#151034 17/06/06 06:17 PM
Joined: Dec 2002
Posts: 580
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 580
Here's my two cents... Forget compiled script (there are so many better features to add)... Instead, join the wonderful world of DLL writing for mIRC. wink


NaquadaBomb
www.mirc-dll.com

Link Copied to Clipboard