|
#1
|
|||
|
|||
|
Run Encrypted External Lua file
the ability to run an encrypted external lua file
considering AMS can already encrypt and decrypt this shoul not be a big of a problem. |
|
#2
|
||||
|
||||
|
AMS already can run encrypted scripts (with a little imagination)
first you need to encrypt your scripts, then use the below code to run them in page onshow you set each script to a object like this: Code:
strFile = TextFile.ReadToString("C:\\MyFile.txt");
strText = Crypto.BlowfishDecryptString(strFile, "testpass");
Page.SetObjectScript("Button1", "On Click", strText);
Last edited by RizlaUK; 01-25-2008 at 06:56 AM. |
|
#3
|
|||
|
|||
|
Quote:
We really need more security for scripts because its too weak now. |
|
#4
|
||||
|
||||
|
Yeah, it would be nice to have
either Application.RunEncryptedScriptFile (string Filename, string Password) or Application.RunScriptFromMemory(var strDrycryptedScript) you can decrypt a script to temp folder run it and delete it straight away, but with something like the above would be a better option |
|
#6
|
||||
|
||||
|
I prefer to compile the file to bytecode using luac and loading it. Just keep a copy of it in plain code because if you lose it there's no easy way to get the script back from bytecode.
|
|
#7
|
||||
|
||||
|
Quote:
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to use a web exe with an external txt data file | DaSoulRed | AutoPlay Media Studio 7.5 Discussion | 0 | 12-06-2007 11:53 AM |
| Failure when patching single file | jlsf2 | Visual Patch 3.5 Discussion | 7 | 10-01-2007 01:15 PM |
| External file path problem | lledden | AutoPlay Media Studio 6.0 | 2 | 09-27-2006 11:44 AM |
| Problem with external file | eric_darling | Setup Factory 6.0 | 11 | 09-24-2004 12:03 PM |
| Auto Run & File Servers | John McCoy | AutoPlay Menu Studio 3.0 | 14 | 03-29-2002 09:09 PM |
All times are GMT -6. The time now is 09:35 PM.








Linear Mode

