AHK源代码加密器 v2.6

Post a reply

Confirmation code
Enter the code exactly as it appears. All letters are case insensitive.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: AHK源代码加密器 v2.6

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

Post by feiyue » 26 Aug 2018, 18:26

更新到v2.5版本,提高了破解的难度,但还是防菜鸟防不了高手。

Re: AHK源代码加密器 v2.2

Post by FastLearner » 07 Aug 2018, 19:20

as usual perfect scripts, fan of your "FindText" script :thumbup: :clap:

I'm also using the great laszlo's protection script so I need to hide any relevance on how this script/program was made or with what language.

Is there any way to not include the autohotkey master program when opening the compiled script?

or a way to hide ahk.exe icon and maybe encrypt it to hide it was made by which program?

Thank you very much :salute:

Re: AHK源代码加密器 v2.2

Post by AHKtreasureland » 23 Jun 2018, 15:16

thank you Fei, this is great stuff! Would it also work with AHK_H? would be great if it does. Thank you again!

Re: AHK源代码加密器 v2.1

Post by feiyue » 17 Jun 2018, 15:16

FluffyMrKitty wrote:Would you be interested in figuring out why your encryption messes with this script's encryption/decryption? Frankly your work is beyond my current comprehension and I barely have a grasp on Laszlo's work.

Basically if I encrypt Laszlo's SW protection script with your script, I only get two unique fingerprints as opposed to a unique fingerprint for every machine.


@FluffyMrKitty, You have found a good script, and I like it very much. :bravo:
I changed my script a little bit, upgraded to v2.2 version.
Deleted the #NoEnv statement (attached to the user script). :dance:

I suggest that you adjust the following code when you use Laszlo's script :

Code: [Select all]GeSHi © Codebox Plus

dir:=A_WorkingDir
IniFile = %dir%\SafeSW.ini


Code: [Select all]GeSHi © Codebox Plus

CheckAuth:
ListLines, Off
SetTimer,, Off

Re: AHK源代码加密器 v2.1

Post by FluffyMrKitty » 12 Jun 2018, 14:04

Would you be interested in figuring out why your encryption messes with this script's encryption/decryption? Frankly your work is beyond my current comprehension and I barely have a grasp on Laszlo's work.

Basically if I encrypt Laszlo's SW protection script with your script, I only get two unique fingerprints as opposed to a unique fingerprint for every machine.

Re: AHK源代码加密器 v2.1

Post by FluffyMrKitty » 09 Jun 2018, 17:57

You're right. I just now noticed my stupid mistake. Sorry about that.

Re: AHK源代码加密器 v2.1

Post by feiyue » 09 Jun 2018, 17:38

FluffyMrKitty wrote:Is there any way to have the encrypted script run without a tray icon?

add #NoTrayIcon

Re: AHK源代码加密器 v2.1

Post by FluffyMrKitty » 09 Jun 2018, 15:09

Is there any way to have the encrypted script run without a tray icon?

Re: AHK源代码加密器 v2.1

Post by feiyue » 08 Jun 2018, 22:38

@alware, You can test a simple script encryption.

Code: [Select all]GeSHi © Codebox Plus

Msgbox, OK !
Esc::Reload()

Re: AHK源代码加密器 v2.0

Post by alware » 08 Jun 2018, 21:58

feiyue wrote:@alware, Because script runs through named pipes, A_ScriptDir is useless.
You should use dir:=A_WorkingDir to get the used directory of the compiled program.


works perfectly!!! Thank you so much! your code rocks!!!!!!!!!!!!!!!!!

reload() doesn't work ! any idea?

Re: AHK源代码加密器 v2.1

Post by feiyue » 08 Jun 2018, 14:31

@alware, You need to re-encrypt the script ! :wave:
The initial working directory of the encrypted script (or compiled program) is the directory where the file is located.
For example, your script is in the D:\ directory, and your picture is in the same directory D:\001.jpg.
When you search for pictures, you can use the relative script path: "001.jpg".
I suggest that you use dir:=A_WorkingDir to save the script's working directory at the beginning of the script,
then you can use the absolute path of the picture: dir . "\001.jpg".

Re: AHK源代码加密器 v2.1

Post by alware » 08 Jun 2018, 13:59

i put this code at the beginning of my code but still doesn't work

SetWorkingDir %A_WorkingDir% ; Ensures a consistent starting directory.

Re: AHK源代码加密器 v2.0

Post by AHKStudent » 07 Jun 2018, 17:59

feiyue wrote:@AHKStudent, I fixed this problem, and now it can package the AHK main program into a separate program.


Tested and it works :thumbup: :thumbup:

Re: AHK源代码加密器 v2.0

Post by feiyue » 07 Jun 2018, 01:25

@AHKStudent, I fixed this problem, and now it can package the AHK main program into a separate program.

@alware, Because script runs through named pipes, A_ScriptDir is useless.
You should use dir:=A_WorkingDir to get the used directory of the compiled program.

Re: AHK源代码加密器 v2.0

Post by alware » 06 Jun 2018, 04:36

i am using gdi+ and gdip imagesearch but it seems encoded script won't recognize the image files that are in the same folder..
any help??

Re: AHK源代码加密器 v2.0

Post by AHKStudent » 05 Jun 2018, 12:57

Hi

To share my app users need to download both files? Or can I just compile my main exe and have the autohotkey.exe within it (like through file install?)

What is the right way to do this?

Re: AHK源代码加密器 v2.0

Post by feiyue » 29 Apr 2018, 02:53

Updated to the V2.0 version, Enhance the difficulty of cracking. :superhappy:

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

Post by feiyue » 25 Apr 2018, 12:39

@brutus_skywalker, Thank you very much for the two ways to view memory text, and I learned new knowledge. :thumbup:

This method can extract fragmented source code text, but can not extract complete code.

It's really lucky. :D

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

Post by brutus_skywalker » 24 Apr 2018, 23:41

ROCKS!

Still Rocks, but script can be recovered by doing a memory dump of autohotkey.exe and using sysinternals 'strings' utility, to extract the code.

Simpler still uses processhacker to view the properties of the process running encoded script and just view strings in the memory tab of the properties.

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

Post by feiyue » 21 Apr 2018, 15:51

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

Top