willichan Posted April 26, 2012 Share Posted April 26, 2012 I have read through trancexx's post (and successfully used it in the past) for loading an EXE file into memory to execute.Is there a way to load an A3X file (not an EXE, I know that won't work) into memory and execute it?I have been asked if it is possible for me to create a script that will perform as described below. I have the basic mechanics of it, and have functions to handle most all of it. I know I can call an A3X file from a compiled script, but I am just not sure about the A3X from memory part. Does anyone know if this is possible?This is what I have been asked to do. - Attach an encrypted script (as a resource?) to the EXE compiled script at compile time. - Decrypt the attached script to memory (not to a temp file for obvious security reasons) based on a unique hardware ID and user provided password - If able to decrypt, then execute the decrypted script - Clear memory and terminate My UDFs: Barcode Libraries, Automate creation of any type of project folder, File Locking with Cooperative Semaphores, Inline binary files, Continue script after reboot, WinWaitMulti, Name Aggregator, Enigma, CornedBeef Hash Link to comment Share on other sites More sharing options...
Mobius Posted April 26, 2012 Share Posted April 26, 2012 Hello willichan, If this were possible in the way you described, it would have been done years ago. Certain types of softarmor can achieve something close, but no cigar on that front. Best to wait for the developers since the a3x component from the resource table is the next logical step. And if you are the type to use softarmor at least that would provide a third (albeit fragile) obstacle to overcome. Vlad Link to comment Share on other sites More sharing options...
willichan Posted April 26, 2012 Author Share Posted April 26, 2012 That is what I suspected.I was hoping one of the Devs might have some trickery I could use to repoint the interpreter to the A3X in memory rather than the one in the exe. I'll probably just tell the client its a no-go. My UDFs: Barcode Libraries, Automate creation of any type of project folder, File Locking with Cooperative Semaphores, Inline binary files, Continue script after reboot, WinWaitMulti, Name Aggregator, Enigma, CornedBeef Hash Link to comment Share on other sites More sharing options...
Skitty Posted April 26, 2012 Share Posted April 26, 2012 Mobius pretty much hit the nail on the head there, I too once pondered the idea of this but reached the conclusion that there is good reason the devs will not add this kind of functionality. And I don't blame them either. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now