Sign in to follow this  
Followers 0
sheck

Add and Extract source to/from any EXE

3 posts in this topic

#1 ·  Posted (edited)

Attach your source to any EXE.

Since built-in option is no longer there, I came up with this method. Not a big fan of ResHacker method, the source is just in plain text in there.

How it works:

Very simple, actually. It reads EXE then reads au3 file, then encrypt source with rijndael algorithm, attaches it to the end of EXE and re-saves EXE. That's all. To retrieve source - the steps are reversed.

How to use:

To save source to EXE -

choose EXE to attach source to, choose au3 file to attach, enter password, click Add button, choose EXE to save to, when prompted.

To extract source from EXE -

choose EXE with source in it, choose au3 file to save source to, enter password that was used when source was added to EXE, click Extract.

Tested on WIN XP SP2 with AutoIt production 3.2.10.0

So far, didn't encounter any errors. Since this section of EXE is not referenced anywhere in commands, the only problem I could see, would be with CRC and other checksums.

UPDATE: Changed GUI. Source inside EXE is now autodetected. Added progress bar.

add_source.au3

rijndael.au3

UPDATE(August 1): There was an error. Fixed it. Now should work 100%. Also added ability to replace scripts already in exe.

Edited by sheckandar

Live and Learn, 'cause Knowledge is Super Power.

Share this post


Link to post
Share on other sites



3.2.12.0.0

Extract Is an empty au3 file.....

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