Page 2 of 6

Re: Decompiling

Posted: 14 Feb 2015, 12:57
by HotKeyIt
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.

Re: Decompiling

Posted: 14 Feb 2015, 13:18
by guest3456
i'm sorry, i'm still confused what the difference is between the two passwords, and why you would use each

Re: Decompiling

Posted: 14 Feb 2015, 14:52
by HotKeyIt
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.

Re: Decompiling

Posted: 14 Feb 2015, 18:13
by guest3456
ah ok, so those two passwords need to match, otherwise you can't compile and execute the script. is that right?

Re: Decompiling

Posted: 14 Feb 2015, 18:17
by HotKeyIt
Correct :)

Re: Decompiling

Posted: 15 Feb 2015, 06:54
by Miguel7
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.

Re: Decompiling

Posted: 15 Feb 2015, 07:06
by HotKeyIt
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.

Re: Decompiling

Posted: 15 Feb 2015, 07:32
by Miguel7
: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. :)

Re: Decompiling

Posted: 26 Feb 2015, 04:56
by samardac
HotKeyIt,
Why I get this? All paths are correct.
Image

Also I'll get 64 or 32 bit exe?

Re: Decompiling

Posted: 26 Feb 2015, 05:59
by HotKeyIt
Can you check if destination exe exists when the error is displayed?
Is it v1 or v2?

Re: Decompiling

Posted: 26 Feb 2015, 06:32
by samardac
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.

Re: Decompiling

Posted: 26 Feb 2015, 07:47
by HotKeyIt
Can you try this.

Re: Decompiling

Posted: 26 Feb 2015, 07:47
by Guest
Turn off our A-V as a test (some AVs prevented compiling in the past)

Re: Decompiling

Posted: 26 Feb 2015, 08:00
by samardac
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.

Re: Decompiling

Posted: 26 Feb 2015, 08:06
by samardac
HotKeyIt, just created .exe than overwrote it when compile and tourn off custom icon and it compiled.
But I need icon!! :)

Re: Decompiling

Posted: 26 Feb 2015, 09:50
by samardac
HotKeyIt, help me pleas!

Re: Decompiling

Posted: 26 Feb 2015, 12:33
by HotKeyIt
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.

Re: Decompiling

Posted: 26 Feb 2015, 12:43
by samardac
I use this: ahkdll-v1-release-master is it last?

Re: Decompiling

Posted: 26 Feb 2015, 12:46
by HotKeyIt
Yes

Re: Decompiling

Posted: 26 May 2015, 01:24
by yektohotua
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!