Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ General
➜ is there a way to hide lua source code
|
is there a way to hide lua source code
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Jing Wu
Australia (35 posts) Bio
|
| Date
| Sun 05 Aug 2012 01:23 PM (UTC) |
| Message
| Hi,
Can I compile xx.lua to a binary lib, and load it into mush?
Is there a way to do this?
Thanks
|
Kernel Development | | Top |
|
| Posted by
| Fiendish
USA (2,553 posts) Bio
Global Moderator |
| Date
| Reply #1 on Sun 05 Aug 2012 03:58 PM (UTC) Amended on Sun 05 Aug 2012 04:01 PM (UTC) by Fiendish
|
| Message
| http://www.lua.org/manual/4.0/luac.html
But your premise of "hiding code" is incredibly anti-social.
Knowing what MUSHclient and Lua are capable of, I would never run anything written by you with hidden code. And I would warn other people against doing so. |
https://github.com/fiendish/aardwolfclientpackage | | Top |
|
| Posted by
| Jing Wu
Australia (35 posts) Bio
|
| Date
| Reply #2 on Mon 06 Aug 2012 03:29 PM (UTC) |
| Message
| Thank you for your answer.
Regarding "anti-social" point, I don't mean I'm going to write some harmful code or anything. just seeking a way to protect at least part of my work. This is my original idea.
|
Kernel Development | | Top |
|
| Posted by
| Fiendish
USA (2,553 posts) Bio
Global Moderator |
| Date
| Reply #3 on Tue 07 Aug 2012 12:35 AM (UTC) |
| Message
|
Wjshome said: I don't mean I'm going to write some harmful code or anything. Sure, says you. |
https://github.com/fiendish/aardwolfclientpackage | | Top |
|
| Posted by
| Nick Gammon
Australia (23,171 posts) Bio
Forum Administrator |
| Date
| Reply #4 on Tue 07 Aug 2012 01:47 AM (UTC) |
| Message
| You may not be planning to write harmful code, but if obfuscated, how do I, the person running it, know this?
MUSHclient is open-source. All the Lua stuff (including Lua itself) is open-source, or at least, you can view the source. Fiendish's stuff is supplied as Lua source.
You can, of course, do whatever you want. But supplying a plugin (or whatever it is) in a way people can't check what it is doing is much the same as supplying a .exe file and saying "trust me, it's not a virus/trojan or whatever".
You may have a group of friends who trust you, and would be happy to install your code. That's fine. But in that case, maybe you would trust them not to pirate it.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
18,108 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top