mIRC Home    About    Download    Register    News    Help

Print Thread
#14983 11/03/03 06:41 PM
Joined: Mar 2003
Posts: 86
N
NRJ Offline OP
Babel fish
OP Offline
Babel fish
N
Joined: Mar 2003
Posts: 86
How can I close the treatment of scripts for other users?
I would like to protect my Scripts with a password. Is this possible somehow, without I close the reading access and writing access under Windows 2000 completely?

Greets, Mathias

#14984 11/03/03 07:43 PM
Joined: Dec 2002
Posts: 77
B
Babel fish
Offline
Babel fish
B
Joined: Dec 2002
Posts: 77
Pretty much impossible to do, there are ways to make it more difficult for scripts to be viewed within mIRC itself, but at the end of the day it's simply a text file and can be viewed easily, there's nothing you can do about it.

#14985 11/03/03 10:20 PM
Joined: Jan 2003
Posts: 1,063
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2003
Posts: 1,063
like I saw some else post on a diverent part of the forum:

mIRC scripts are open source...


and I aggree! there is no way to protect a file from being changed at all... all you can do is make it hard for n00bies to do so... like an on *:LOAD: which checks the crc/md5 check on itself to see if changes were made to the file, if so delete and unload itself...


If it ain't broken, don't fix it!
#14986 12/03/03 11:09 PM
Joined: Dec 2002
Posts: 580
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 580
Code most of it as a .dll wink


NaquadaBomb
www.mirc-dll.com
#14987 13/03/03 01:45 PM
Joined: Mar 2003
Posts: 86
N
NRJ Offline OP
Babel fish
OP Offline
Babel fish
N
Joined: Mar 2003
Posts: 86
sorry, i can't code dll's frown

#14988 13/03/03 09:37 PM
Joined: Jan 2003
Posts: 44
L
Ameglian cow
Offline
Ameglian cow
L
Joined: Jan 2003
Posts: 44
you could embed your code in a hashtable and run time parse it out

you have to make your own routines for that, i'm not going to do it but i can be done.

you could also create your own encryption/decryption sequencer (which would be the visible part) and have it also runtime decrypt sections of code as it determines which module needs to be processed.

overall, your best bet is to use a dll method.

however, it really benefits the community if you just share your script. trust me when I say you probably haven't made anything someone else hasn't already made public anyways.

#14989 13/03/03 10:56 PM
Joined: Jan 2003
Posts: 30
R
Ameglian cow
Offline
Ameglian cow
R
Joined: Jan 2003
Posts: 30
I spent some time trying to figure something out like this. After a lot of time I realizing that there isnt any real efficient way to stop the borrowing of code without writting a dll. So I just started adding a few lines to the init of a dialog or something that would check to be sure it was apart of the script or the file would be unloaded and erased. But I only have that on two things, the mp3 player and a game query script which I spent a ton of time learning about and making. I figure if they are willing to pick it apart and remove the lines, they can have it. Besides there are a lot of similar scripts out there, I just like my layout better then anyone elses. grin

If you do find something that is fast, I would be interested in knowing for a few things that im working on.

#14990 14/03/03 09:03 PM
Joined: Mar 2003
Posts: 86
N
NRJ Offline OP
Babel fish
OP Offline
Babel fish
N
Joined: Mar 2003
Posts: 86
I have found a great script to protect the mIRC scripting editor:

http://www.scriptaz.com/archives.php?lan...&page=2

Search for LockEditor DLL v1.42b7

Greets, Mathias

#14991 14/03/03 10:06 PM
Joined: Jan 2003
Posts: 30
R
Ameglian cow
Offline
Ameglian cow
R
Joined: Jan 2003
Posts: 30
It still cant stop me from closing mirc and opening the file in notepad.

#14992 15/03/03 10:31 AM
Joined: Mar 2003
Posts: 86
N
NRJ Offline OP
Babel fish
OP Offline
Babel fish
N
Joined: Mar 2003
Posts: 86
of course, you can protect your script files in win2k (read protection). the script runs and you cannot read the script file. smile

greets, mathias


Link Copied to Clipboard