AHK源代码加密器 v1.7

许多实用脚本和封装函数, 可以让您编写脚本更加便捷高效
feiyue
Posts: 71
Joined: 08 Aug 2014, 04:08

AHK源代码加密器 v1.7

06 Jan 2018, 17:33

在利用AHK解决实际问题时,有时想保护自己的劳动成果,不想直接给其他人看到。
但是当前的Ahk2Exe不能加密,源代码是明文附加在程序末尾的,起不到保护源代码的作用,
所以我制作了一个简单的AHK源代码加密器,可以防止小白,对高手没有什么作用。


Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

Last edited by feiyue on 22 Apr 2018, 03:52, edited 12 times in total.
User avatar
oldbrother
Posts: 140
Joined: 23 Oct 2013, 05:08

Re: AHK源代码加密器 v1.5

20 Jan 2018, 06:50

xiexie!!!!
guest3456
Posts: 2281
Joined: 09 Oct 2013, 10:31

Re: AHK源代码加密器 v1.5

06 Mar 2018, 12:38

nice

can you give an explanation in english? maybe you could post this in the "Scripts And Functions" forum

and can you provide the c++ source code for the machine codes?

garry
Posts: 1196
Joined: 22 Dec 2013, 12:50

Re: AHK源代码加密器 v1.5

06 Mar 2018, 17:37

謝謝
Last edited by garry on 07 Mar 2018, 17:07, edited 1 time in total.
feiyue
Posts: 71
Joined: 08 Aug 2014, 04:08

Re: AHK源代码加密器 v1.5

07 Mar 2018, 11:18

@guest3456, I've changed the script to English, but I don't want to repeat it to the "Scripts And Functions" forum.
If I provide the C source code for the machine code, the Encryptor is cracked. :beer:
User avatar
SpeedMaster
Posts: 151
Joined: 12 Nov 2016, 16:09

Re: AHK源代码加密器 v1.5

07 Mar 2018, 12:17

Hello,

I tried the compiled exe script but a get this error. :cry:

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

feiyue
Posts: 71
Joined: 08 Aug 2014, 04:08

Re: AHK源代码加密器 v1.5

07 Mar 2018, 12:33

@SpeedMaster,
Because it is calling the AHK master program to run dynamically,
There must be a AHK master program in the same directory.
User avatar
SpeedMaster
Posts: 151
Joined: 12 Nov 2016, 16:09

Re: AHK源代码加密器 v1.5

07 Mar 2018, 13:00

feiyue wrote:@SpeedMaster,
There must be a AHK master program in the same directory.


I do not see any AHK master program in the folder :?

03_07_18 @6_54_57.PNG
03_07_18 @6_54_57.PNG (9.91 KiB) Viewed 761 times
feiyue
Posts: 71
Joined: 08 Aug 2014, 04:08

Re: AHK源代码加密器 v1.5

07 Mar 2018, 13:27

AHK master program is AutoHotkey.exe.
If AutoHotkey.exe is renamed abc.exe, Please modify Ahk=%A_ScriptDir%\abc.exe
User avatar
SpeedMaster
Posts: 151
Joined: 12 Nov 2016, 16:09

Re: AHK源代码加密器 v1.5

07 Mar 2018, 14:03

I got it now :idea: :lolno:
Thanks :thumbup:

ahk.png
ahk.png (7.06 KiB) Viewed 741 times
guest3456
Posts: 2281
Joined: 09 Oct 2013, 10:31

Re: AHK源代码加密器 v1.6

08 Mar 2018, 21:08

can you explain what the new 'add' code does, with the Gui and getting the process Pid, and the Reload() func that is never called?

feiyue
Posts: 71
Joined: 08 Aug 2014, 04:08

Re: AHK源代码加密器 v1.6

08 Mar 2018, 22:40

Because the decoded code is not saved to the disk, it is sent directly to the AutoHotkey.exe to execute.
No source files lead to:
1. Only one is allowed to run at the same time (#SingleInstance force), is invalid.
Solution: Use a hidden GUI as the unique tag to prevent conflicts.
2, Reload is invalid. Solution: use the Reload() function instead. :beer:
User avatar
Cuadrix
Posts: 138
Joined: 07 May 2017, 08:26

Re: AHK源代码加密器 v1.6

08 Apr 2018, 07:24

Very nice!
Aɴᴅ ᴛᴏᴅᴀʏs ᴡɪɴɴᴇʀ ᴏꜰ ᴛʜᴇ ᴛɪᴛʟᴇ "Mᴀsᴛᴇʀ" ɪs...
feiyue
Posts: 71
Joined: 08 Aug 2014, 04:08

Re: AHK源代码加密器 v1.7

Yesterday, 15:51

Updated to the V1.7 version, made some improvements to avoid being easily cracked.
Thank you very much for Helgef ! :bravo:

Return to “脚本函数”

Who is online

Users browsing this forum: No registered users and 4 guests