Page 1 of 1

Obscufication/Licensing of a LUA script

PostPosted: Tue Feb 20, 2018 5:13 pm
by MB
I would like to temporarily share a valuable LUA script with a hardware vendor at a trade show so they can show Octane running on their gear, but obviously don't want it to get out into the wild.

Is there anything I can do to protect it?

thx

Mark

Re: Obscufication/Licensing of a LUA script

PostPosted: Tue Feb 20, 2018 7:11 pm
by juanjgon
Something like that perhaps?
https://github.com/mlnlover11/XFuscator

Thanks,
-Juanjo

Re: Obscufication/Licensing of a LUA script

PostPosted: Tue Feb 20, 2018 7:31 pm
by mojave
Just adding to what Juanjo has proposed that you may also implement the most sensitive parts as a DLL and access them via the Lua FFI interface:

http://luajit.org/ext_ffi.html

(Note that Octane uses vanilla Lua instead of LuaJit, I'm adding this link just with the purpose of illustrating how to use it).

Re: Obscufication/Licensing of a LUA script

PostPosted: Tue Feb 20, 2018 8:06 pm
by MB
Thank you both!