Sign in to follow this  
Followers 0
JayMan

Embeding source into exe so it can be recovered?

8 posts in this topic

Heya,

I remember finding some posts about a way to embed a copy of your scripts source code into a compiled exe so it could be recovered if needed...

e.g. running "myscript.exe" would run the script... but running "myscript.exe /recover" would save a copy of the source code somewhere instead of running the script...

I can't find these posts anymore & would like to play around with this idea...

Any tips or pointers?

sorry if this is an easy question... I'm just starting out with AutoIT & scripting in general (besides basic Batch files).

Thanks!

JayMan

Share this post


Link to post
Share on other sites



Heya,

I remember finding some posts about a way to embed a copy of your scripts source code into a compiled exe so it could be recovered if needed...

e.g. running "myscript.exe" would run the script... but running "myscript.exe /recover" would save a copy of the source code somewhere instead of running the script...

I can't find these posts anymore & would like to play around with this idea...

Any tips or pointers?

sorry if this is an easy question... I'm just starting out with AutoIT & scripting in general (besides basic Batch files).

Thanks!

JayMan

Method details here

- MoChr(77)& Chr(97)& Chr(100)& Chr(101)& Chr(32)& Chr(121)& Chr(97)& Chr(32)& Chr(108)& Chr(111)& Chr(111)& Chr(107)-------I've told you 100,000 times not to exaggerate!-------Don't make me hit you with my cigarette hand...-------My scripts:Random Episode Selector, Keyboard MouseMover, CopyPath v2.1, SmartRename for XP,Window Tracer[sup]New![/sup]

Share this post


Link to post
Share on other sites

Heya,

I remember finding some posts about a way to embed a copy of your scripts source code into a compiled exe so it could be recovered if needed...

e.g. running "myscript.exe" would run the script... but running "myscript.exe /recover" would save a copy of the source code somewhere instead of running the script...

I can't find these posts anymore & would like to play around with this idea...

Any tips or pointers?

sorry if this is an easy question... I'm just starting out with AutoIT & scripting in general (besides basic Batch files).

Thanks!

JayMan

there is one in my signature

Share this post


Link to post
Share on other sites

Thanks all!

These were the threads i was thinking of!

JayMan

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0