[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Protect a lua script which has been compiled
- From: Dirk Laurie <dirk.laurie@...>
- Date: Thu, 19 Jan 2017 12:20:20 +0200
2017-01-19 12:07 GMT+02:00 Michael Shalayeff <firstname.lastname@example.org>:
> On Thu, Jan 19, 2017 at 11:49:07AM +0200, Dirk Laurie wrote:
>> 2017-01-19 11:10 GMT+02:00 Charles Heywood <email@example.com>:
>> > If you still want to continue with doing this, chances are the best bet is
>> > to obfuscate the source before compilation and distribution. That would make
>> > it harder to understand - but not impossible.
>> On a Un*x system, you can simply mark the executable execute-only.
>> chmod go-rw+x myprog.lua
>> I.e. only the root user can change, copy or reverse-engineer it,
>> but anyone can run it. You don't even need to compile the Lua
>> script, a shebang turns any Lua source file into an executable.
> anyone with two bits and an adb(1) can has access to the script
> that is executable!
> in the worst case -- have you heard about those things called
> signals and core dumps?
The question seemed to be at the level of people playing
computer games, not that of serious pirates or even of people
who jailbreak smartphones.
If one's opponent is any hacker worth the name, not even the
US Department of Defence is safe.