Can't compile encrypted scripts

General Macro Scheduler discussion

Moderators: JRL, Dorian (MJT support)

Post Reply
Roger

Can't compile encrypted scripts

Post by Roger » Thu Apr 17, 2003 8:34 pm

I just noticed that encrypted scripts don't work as a compiled 'exe'. I then disabled encryption for the script, re-compiled the script into an 'exe' and it works fine. Then I opened the 'exe' file in a text editor and see that the script lines are readable as plain text at the end of the file. This would then make any passwords, etc visible in the file.
Is there a way around this problem, or better yet, is there a plan to make the 'make exe' option work with encrypted scripts (or even just re-encrypt the embedded text script lines at the end of the 'exe' file) ?

thanks in advance,
Roger
p.s. using version 7.2.031

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Fri Apr 18, 2003 4:14 pm

Hi,

It is not possible at present to compile encrypted scripts. We plan to encrypt compiled scripts in future.
MJT Net Support
[email protected]

User avatar
jpuziano
Automation Wizard
Posts: 1085
Joined: Sat Oct 30, 2004 12:00 am

Post by jpuziano » Thu Nov 09, 2006 12:08 am

Hi Marcus,

I saw this old post from 2003 and was curious so I wrote a one line macro to test it using 9.0.034 beta. It turns out that if you have an encrypted macro, you can compile it and it will produce an .exe but that .exe will not work, it seems to just quit. If you go back and remove the encryption from the macro, compile again, the .exe will now work fine... so I'd say this is still an issue.
support wrote:It is not possible at present to compile encrypted scripts. We plan to encrypt compiled scripts in future.
Are you saying this will be changed so that when a user compiles an encrypted script, the .exe will work?

If not, then could a check be added when a user compiles a script? If its encrypted, it could tell them...
  • "Compiling of encrypted scripts not supported - Please remove encryption before compiling"
...or something like that. Just wondering where we are with this one... :?:
jpuziano

Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post - :-)

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Thu Nov 09, 2006 8:14 am

Thought this had been done. I'll check it out. It should prompt for the password, decrypt and then compile.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

User avatar
jpuziano
Automation Wizard
Posts: 1085
Joined: Sat Oct 30, 2004 12:00 am

Post by jpuziano » Thu Nov 23, 2006 8:15 am

Hi Support,

Thanks for fixing this in... Beta 09 Build 035

- Now prompts for password on compile and decrypts if macro encrypted.
jpuziano

Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post - :-)

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts