Decompiling

Ask for help, how to use AHK_H, etc.
HotKeyIt
Posts: 2364
Joined: 29 Sep 2013, 18:35
Contact:

Re: Decompiling

14 Feb 2015, 12:57

It is functional, there was a bug with CryptAES.ahk which is fixed now.
So now when you enter any different password than 'AutoHotkey' the exe will not be able to extract script.
guest3456
Posts: 3453
Joined: 09 Oct 2013, 10:31

Re: Decompiling

14 Feb 2015, 13:18

i'm sorry, i'm still confused what the difference is between the two passwords, and why you would use each

HotKeyIt
Posts: 2364
Joined: 29 Sep 2013, 18:35
Contact:

Re: Decompiling

14 Feb 2015, 14:52

You mean the password hard coded in AutoHotkey.exe and Password used in Edit box?
Ahk2Exe is not able to read the password from AutoHotkey.exe.
User needs to enter the password used in AutoHotkey.exe so Ahk2Exe can encrypt the data properly.
guest3456
Posts: 3453
Joined: 09 Oct 2013, 10:31

Re: Decompiling

14 Feb 2015, 18:13

ah ok, so those two passwords need to match, otherwise you can't compile and execute the script. is that right?

Miguel7
Posts: 186
Joined: 08 Sep 2014, 07:06

Re: Decompiling

15 Feb 2015, 06:54

If you don't mind me asking, what is AHK_H? I know our current version is called AHK_L on the old forum, but I haven't heard of this one.
HotKeyIt
Posts: 2364
Joined: 29 Sep 2013, 18:35
Contact:

Re: Decompiling

15 Feb 2015, 07:06

See thread in forum, old docs, new docs.
New docs are for v2 only but most things are available in v1 too.
I am still working on the docs but most things are documented.
Here are the AHK_H features.
Miguel7
Posts: 186
Joined: 08 Sep 2014, 07:06

Re: Decompiling

15 Feb 2015, 07:32

:shock: You came up with a way to incorporate AHK into other programming languages?! I am so downloading this. :D

But back to the topic of decompiling, it seems to me that adding another language would be a good measure in and of itself. Nothing is ever 100% secure (for .Net there are programs like Reflector, C++ can be decompiled to ASL, I've heard of others for Java, etc.). but throwing in another language can definitely make it harder. I'm no expert on decompiling, but if I were to try I wouldn't think to look for an AHK interpreter; I'd try to use some other method to get the source code.

But anyway nice going on AHK_H, HotkeyIt! That is really cool and I can't wait to mess with it. :)
samardac
Posts: 212
Joined: 30 Nov 2014, 13:36

Re: Decompiling

26 Feb 2015, 04:56

HotKeyIt,
Why I get this? All paths are correct.
Image

Also I'll get 64 or 32 bit exe?
HotKeyIt
Posts: 2364
Joined: 29 Sep 2013, 18:35
Contact:

Re: Decompiling

26 Feb 2015, 05:59

Can you check if destination exe exists when the error is displayed?
Is it v1 or v2?
samardac
Posts: 212
Joined: 30 Nov 2014, 13:36

Re: Decompiling

26 Feb 2015, 06:32

destination exe, what do you mean? You mean when I compile if already exist .exe that will be compiled?
If yes I just created it and tried again but got this:
Image
Path is correct.

It is V1.
Guest

Re: Decompiling

26 Feb 2015, 07:47

Turn off our A-V as a test (some AVs prevented compiling in the past)
samardac
Posts: 212
Joined: 30 Nov 2014, 13:36

Re: Decompiling

26 Feb 2015, 08:00

HotKeyIt, Looks like I already tried it and got those errors. What is new in that link?
Guest, I have no any A-V, and regular Ahk2Exe works good.
samardac
Posts: 212
Joined: 30 Nov 2014, 13:36

Re: Decompiling

26 Feb 2015, 08:06

HotKeyIt, just created .exe than overwrote it when compile and tourn off custom icon and it compiled.
But I need icon!! :)
samardac
Posts: 212
Joined: 30 Nov 2014, 13:36

Re: Decompiling

26 Feb 2015, 09:50

HotKeyIt, help me pleas!
HotKeyIt
Posts: 2364
Joined: 29 Sep 2013, 18:35
Contact:

Re: Decompiling

26 Feb 2015, 12:33

Just tried with custom icon as well as using ;@Ahk2Exe-SetMainIcon and it works, did you download the latest version because previous version had problems with icons.
samardac
Posts: 212
Joined: 30 Nov 2014, 13:36

Re: Decompiling

26 Feb 2015, 12:43

I use this: ahkdll-v1-release-master is it last?
yektohotua
Posts: 2
Joined: 25 May 2015, 15:47

Re: Decompiling

26 May 2015, 01:24

HotKeyIt wrote:If you want to encrypt you need to recompile AutoHotkey.exe from source and change the password, search for g_default_pwd.
If you want to compress only, download and compile using included compiler.
Thank you so much for your great work! I believe this'll be helpful for many people but they didn't find this subject(fortunately I do :bravo: ).

But I have some trouble with the recompilation:
I open the "AutoHotkey.sln" in Visual Studio Community 2013, and it prompts the need of earlier compiler and libraries, what should I do? I'm a beginner of vs, so could you help me with more details?
thanks!

Return to “Ask for Help”

Who is online

Users browsing this forum: No registered users and 28 guests