Parthax
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 6941 |
|
|
| 07 Jul 2013 01:18 PM |
For every script, just copy it into one giant script, that will basically create variables for each, like
_G.scripts={ script1=[["print("Hello world!")]], script2=[[workspace:ClearAllChildren()]] } script:Destroy()
so that your giant script holding all the source is removed.
so whenever you want to run them, use a different script and put (for example)
loadstring(_G.scripts.script1)()
There should be no visible source anywhere, leaving your scripts protected.
cнecĸмαтe, ɴooвѕ. |
|
|
| Report Abuse |
|
|
|
| 07 Jul 2013 01:20 PM |
| Or just parent them to nil... does it need to be much harder and more complex than that? |
|
|
| Report Abuse |
|
|
Legend26
|
  |
| Joined: 08 Sep 2008 |
| Total Posts: 10586 |
|
|
| 07 Jul 2013 01:22 PM |
| You can't steal server scripts. |
|
|
| Report Abuse |
|
|
xSIXx
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 9202 |
|
| |
|
Parthax
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 6941 |
|
|
| 07 Jul 2013 01:28 PM |
It can be used for localscripts in a client environment.
cнecĸмαтe, ɴooвѕ. |
|
|
| Report Abuse |
|
|
NVI
|
  |
| Joined: 11 Jan 2009 |
| Total Posts: 4744 |
|
|
| 07 Jul 2013 01:29 PM |
| @Parthax: Then you can just get the value of _G.script1. |
|
|
| Report Abuse |
|
|
0x0086
|
  |
| Joined: 03 Jul 2013 |
| Total Posts: 20 |
|
|
| 07 Jul 2013 01:57 PM |
print 'hello'
@Parthax: It won't work. Even if you do for example loadstring(("'olleh' tnirp"):reverse())() and you search for print 'hello', you'll find a result. By the way, this method of regrouping all the script in one and load them with different scripts is pointless since this script must be local to work for localscripts. _G on regular scripts and _G on localscripts aren't the same. |
|
|
| Report Abuse |
|
|
Oysi
|
  |
| Joined: 06 Jul 2009 |
| Total Posts: 9058 |
|
| |
|
0x0086
|
  |
| Joined: 03 Jul 2013 |
| Total Posts: 20 |
|
|
| 07 Jul 2013 02:24 PM |
| Localscripts doesn't replicate since they're already local. And how would you encode it? If you want to execute it, you'll have to decode it, no matter what, you'll still find the decoded script in the memory. The only way I see to protect localscripts is to do something like NecroBumpist's lbi, a bytecode interpreter. |
|
|
| Report Abuse |
|
|
Oysi
|
  |
| Joined: 06 Jul 2009 |
| Total Posts: 9058 |
|
| |
|
itunes89
|
  |
| Joined: 19 Jan 2011 |
| Total Posts: 1957 |
|
|
| 07 Jul 2013 06:52 PM |
| Guys, anyone with even a little bit of scripting Knowledge can find backdoors. I would like to see something like .dlls. That would allow us to share scripts without people just stealing them. |
|
|
| Report Abuse |
|
|
|
| 07 Jul 2013 06:54 PM |
what
you dunt know what ur talking about dood |
|
|
| Report Abuse |
|
|
itunes89
|
  |
| Joined: 19 Jan 2011 |
| Total Posts: 1957 |
|
| |
|
| |
|
itunes89
|
  |
| Joined: 19 Jan 2011 |
| Total Posts: 1957 |
|
|
| 07 Jul 2013 06:58 PM |
| Lol What do you mean? Create protected code library's? What's wrong with that? |
|
|
| Report Abuse |
|
|
badcc
|
  |
| Joined: 18 Jan 2009 |
| Total Posts: 3170 |
|
| |
|
Parthax
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 6941 |
|
| |
|