AHK -> EXE: Encrypt source code?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
SeltsamerHerr
Posts: 11
Joined: 08 Jan 2018, 09:00

AHK -> EXE: Encrypt source code?

08 Jan 2018, 09:10

Hi!
I am considering to share a tool I created. Therefore I want to export it as an .exe file to make it more accessible for different users. Is there a way to encrypt the source code so that it cannot be (easily) reverse engineered? The standard .exe only needs to be opened with a text editor and the original (although unformatted) .ahk source code can be found (in the end of the file).

Any suggestions would be appreciated.
Cheers!
RickC
Posts: 299
Joined: 27 Oct 2013, 08:32

Re: AHK -> EXE: Encrypt source code?

08 Jan 2018, 09:16

Asked and answered many times before. Try doing a search for terms like 'encrypt source'.
ferryiol

Re: AHK -> EXE: Encrypt source code?

08 Jan 2018, 09:16

SeltsamerHerr wrote:Hi!
I am considering to share a tool I created. Therefore I want to export it as an .exe file to make it more accessible for different users. Is there a way to encrypt the source code so that it cannot be (easily) reverse engineered? The standard .exe only needs to be opened with a text editor and the original (although unformatted) .ahk source code can be found (in the end of the file).

Any suggestions would be appreciated.
Cheers!
THIS TOPIC COMES UP OFTEN, THERE IS NO SOLUTION SORRY FOR THE CAPS IM TOO LAZY TO TURN IT OFF
SeltsamerHerr
Posts: 11
Joined: 08 Jan 2018, 09:00

Re: AHK -> EXE: Encrypt source code?

08 Jan 2018, 10:45

Thanks for the keywords guys, sorry I didn't find it before.
I would now remove this post if I could, as I see how it doesn't contribute to the community.
User avatar
joedf
Posts: 8958
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: AHK -> EXE: Encrypt source code?

08 Jan 2018, 10:47

We’ll have you tried obfuscation?
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
SeltsamerHerr
Posts: 11
Joined: 08 Jan 2018, 09:00

Re: AHK -> EXE: Encrypt source code?

08 Jan 2018, 11:00

Well, it seems the obfuscation tool many referred to in other posts seems broken (and hard to use in the first place). Manual obfuscation seems pointless without putting a lot of effort in it. I might go for using mpress and/or other tools to compress the exe to avoid standard users to find the source code.
BoBo
Posts: 6564
Joined: 13 May 2014, 17:15

Re: AHK -> EXE: Encrypt source code?

08 Jan 2018, 13:06

So, just for the records (for the band of AHK brothers who want to fix it) ...
https://github.com/davidmalia/autohotke ... master.zip
User avatar
joedf
Posts: 8958
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: AHK -> EXE: Encrypt source code?

08 Jan 2018, 20:55

Good thinking. Thanks BoBo :+1:
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Chunjee, gsxr1300, inseption86, jaka1, mebelantikjaya and 286 guests