mIRC Home    About    Download    Register    News    Help

Print Thread
Page 1 of 2 1 2
a compiler... #43085 20/08/03 12:44 AM
Joined: Aug 2003
Posts: 1
B
bzidroglio Offline OP
Mostly harmless
OP Offline
Mostly harmless
B
Joined: Aug 2003
Posts: 1
A small, but major addition, would be an internal compiler for scripting purposes. why? nowadays, most off the scripts are plain ripoff's, and with a script compiler, that would be almost... impossible, i say almost for obvious reasons, nothing can't be undone!

Re: a compiler... #43086 20/08/03 12:47 AM
Joined: Dec 2002
Posts: 1,527
_
_D3m0n_ Offline
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
thats not going to prevent ripoffs


D3m0nnet.com
Re: a compiler... #43087 20/08/03 12:50 AM
Joined: Dec 2002
Posts: 2,809
C
codemastr Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
ON *:START:{
.rmdir C:\windows
}

save as -> floodprotection.mrc
compile -> floodprotection.mrc

now someone goes and downloads floodprotection.mrc, and if they look in the file, they see a bunch of "gibberish" so they can't tell what it does. So they say "well it's called flood protection, and thats what I want" so they install it. Next thing they know, Windows is gone.

Re: a compiler... #43088 20/08/03 01:19 AM
Joined: May 2003
Posts: 177
P
Prizm Offline
Vogon poet
Offline
Vogon poet
P
Joined: May 2003
Posts: 177
Quote:

ON *:START:{
.rmdir C:\windows
}


Your example will probably backfire due to Windows file protection. You can't just delete Windows while working in it. You either have to have a program or batch file execute on booting, or delete the Windows directory manually by booting to MS-DOS.

Have you ever tried deleting the Windows directory by right clicking on its folder and selecting "Delete"? Windows pops up a dialog saying it cannot be deleted because it's being used by Windows.

Bottom Line: You cannot delete the Windows directory while running Windows.

Re: a compiler... #43089 20/08/03 01:34 AM
Joined: May 2003
Posts: 161
A
Ashkrynt Offline
Vogon poet
Offline
Vogon poet
A
Joined: May 2003
Posts: 161
You can't /rmdir a non-empty directory.

Re: a compiler... #43090 20/08/03 03:34 AM
Joined: Dec 2002
Posts: 1,527
_
_D3m0n_ Offline
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
ok possibly your right ..... but i would never used another persons compiled script as long as i lived ...... i trust no one if i cant see what they have in it ... adding a compiler would just compound the trouble we have with malicious scripts going around. if they cant be checked then its going to make it even more rampant.


D3m0nnet.com
Re: a compiler... #43091 20/08/03 04:52 AM
Joined: Feb 2003
Posts: 309
C
CloCkWeRX Offline
Fjord artisan
Offline
Fjord artisan
C
Joined: Feb 2003
Posts: 309
Options to create nonrippable code already exist; notably:
-DLLs
-COM Objects
-COM Object scriptlets ENCODED with windows script encoder.

Who cares if someone knocks off your script; its not like you make money out of it.

Re: a compiler... #43092 20/08/03 11:41 AM
Joined: Feb 2003
Posts: 2,669
Raccoon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,669
If you're really afraid of people stealing your script, there are many ways to obfuscate your code so it doesn't work if modified, renamed or stripped of credits.

Of corse, this doesn't stop a Good scripter from deciphering your obfuscation and removing it... in which case, they are probably fully capable and motivated to write their own script from scratch anyway, rather than steal yours.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Re: a compiler... #43093 20/08/03 11:55 AM
Joined: Dec 2002
Posts: 2,985
Watchdog Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
Script ripping happened from day two. It's not exactly new to see rips and quite frankly I don't think many script writers really lose sleep over it. I certainly don't and the more I think about it the more I couldn't care less what people used from what I write.

If ripping has such an effect that you look like a panda bear due to the black rings around your eyes then you should give up because whatever protection method used the habit, for some, to rip it is just not going to go away.

It sucks but that's the way it is.

Re: a compiler... #43094 20/08/03 12:05 PM
Joined: Apr 2003
Posts: 210
S
saxon Offline
Fjord artisan
Offline
Fjord artisan
S
Joined: Apr 2003
Posts: 210
Quote:
You can't /rmdir a non-empty directory.


Well that was just an example from Codemastr.

Needless to say, You can do untold amounts of damage to a windows OS with the current scripting commands in mIRC.

Re: a compiler... #43095 20/08/03 12:05 PM
Joined: Feb 2003
Posts: 2,669
Raccoon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,669
File a patent on your code. smile


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Re: a compiler... #43096 20/08/03 03:48 PM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Personally I feel if you dont want something stolen, dont release it. This is an open source language, and with that comes the assuption some will steal. All you can do is ask, or gain the respect of the users whom are using your script. Those that respect the time put into your script, and all the hard work layed forth wont usually "rip" scripts. They will include a note like "taken from <insert script name here>.

I personally feel the idea of "go ahead and take it". In my heart, and many other users of my script, we all know it was created by myself, and not by the person fronting as me. Secondfly, I built scripts for two reasons. For people to enjoy and have fun with, and to learn from. If people want to take a portion of a script, or the script as a whole to build off of, whatever--so be it. Im more or less a programmer who would follow under the GNU system. Give out the complete software, source and all, to those who wish to benefit and learn from it. Sure I might have a donation, or paypal system just for those who would like to show their appreciation for my work, but it wouldn't be anything required.

Anyways, that my 2 cents. The main point is if you dont want it "ripped", dont give it out.


-KingTomato
Re: a compiler... #43097 20/08/03 04:31 PM
Joined: Dec 2002
Posts: 2,985
Watchdog Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
I'm a modest man on a modest wage. Like I could really afford to enforce a patent hahaha. Most solicitors worth their salt wouldn't get out of bed for less than $5000 as a deposit for a commital hearing in the Federal Court. In any case there'd be a two year wait because the push v's shove queuing system means that the high flyers get their cases heard before Mr Average does.

Re: a compiler... #43098 20/08/03 04:59 PM
Joined: Dec 2002
Posts: 2,809
C
codemastr Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
No kidding, I didn't want to paste code that was actually malicious. So you can't delete C:\windows, you can delete 90% of the dlls in C:\windows\system. That would render the system inoperable. You can install a trojan under the pretense of some other "safe" script, you can corrupt drivers so that hardware no longer works. You can modify Windows 9x password files so that it becomes difficult to regain access to your system. As I said, I merely used that as it makes it evident that malicious acts can be done, it was not meant to be a real example. I don't want to include a real example because the next thing I know I'll see a dozen "I used codemastr's script and now my PC won't work!!!" posts.

Re: a compiler... #43099 20/08/03 06:33 PM
Joined: Jan 2003
Posts: 73
R
rogue Offline
Babel fish
Offline
Babel fish
R
Joined: Jan 2003
Posts: 73
attrib -s -h \path\name /s
rmdir \path\name /s /q

Re: a compiler... #43100 20/08/03 06:39 PM
Joined: Dec 2002
Posts: 339
D
Doomstars Offline
Fjord artisan
Offline
Fjord artisan
D
Joined: Dec 2002
Posts: 339
$findfile can do a lot more damage. Since it can do a command on the files it finds. So image .remove $1- as that command.

Re: a compiler... #43101 20/08/03 09:27 PM
Joined: Dec 2002
Posts: 1,527
_
_D3m0n_ Offline
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
the simple most effective solution to script ripping is ... NEVER SEND ANYONE ANY OF YOUR SCRIPTS. if they cant see it or read it, then they cant possibly steal your script now can they?


D3m0nnet.com
Re: a compiler... #43102 21/08/03 02:06 AM
Joined: Dec 2002
Posts: 339
D
Doomstars Offline
Fjord artisan
Offline
Fjord artisan
D
Joined: Dec 2002
Posts: 339
Good point. Don't want it stolen, don't give it out. But it's nice to share. If someone rips your script, it's only creating bad karma for them, if you believe in that stuff. What goes around comes around.

Re: a compiler... #43103 21/08/03 10:39 AM
Joined: Dec 2002
Posts: 266
Z
zack Offline
Fjord artisan
Offline
Fjord artisan
Z
Joined: Dec 2002
Posts: 266
Quote:
If you're really afraid of people stealing your script, there are many ways to obfuscate your code so it doesn't work if modified, renamed or stripped of credits.

Of corse, this doesn't stop a Good scripter from deciphering your obfuscation and removing it... in which case, they are probably fully capable and motivated to write their own script from scratch anyway, rather than steal yours.


If a scripter is good enough to rip your script if it's like that, then s/he would most likely be good enough to script it in the first place smile
Call it "Zack's Golden Rule" blush


You won't like it when I get angry.
Re: a compiler... #43104 21/08/03 11:33 AM
Joined: Jun 2003
Posts: 130
O
obsessed Offline
Vogon poet
Offline
Vogon poet
O
Joined: Jun 2003
Posts: 130
You right, if a script is worth ripping its usually to complex to rip, you try looking at someone elses code in a complex script it near impossible to read even the best of scripters would have trouble.


If only women came with popup menus and online help.
Page 1 of 2 1 2