| View previous topic :: View next topic |
| Author |
Message |
ultralord Master

Joined: 06 Nov 2006 Posts: 255
|
Posted: Mon Mar 15, 2010 9:21 am Post subject: encrypt |
|
|
can i encrypt one tcl script.. i want to sell one script can to encrypt somehow ? i dont want to be edited or stole something from in ? _________________
You need a iRC bot for your CS Gameserver? Rent one here |
|
| Back to top |
|
 |
ultralord Master

Joined: 06 Nov 2006 Posts: 255
|
Posted: Mon Mar 15, 2010 9:21 am Post subject: |
|
|
ahh wrong section move it on Scripting Help plz. _________________
You need a iRC bot for your CS Gameserver? Rent one here |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Mon Mar 15, 2010 3:18 pm Post subject: |
|
|
Another option would be to use a tcl bytecode compiler, such as TclPro's Compiler (http://www.tcl.tk/software/tclpro/compiler.html). Be adviced though, that if your eggdrop can run the code, then anyone intent on reading your code will be able to do so with enough effort.
I roughly recall some technique using the tcl_traceExec variable being set to 2 prior loading an obfuscated or bytecode compiled script, and then monitoring the generated debug output. This would require a tcl-library compiled with TCL_COMPILE_DEBUG being defined, but that wouldn't be a problem for anyone with slight experience compiling their own libraries...
All in all, if you have some very valuable code, consider using NDA's and legal means to ensure your copyright of the code; enlighten your client of your rights as a copyright holder; and your client's entitlements through the license you grant your client. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
|