Tested and it worksfeiyue wrote:@AHKStudent, I fixed this problem, and now it can package the AHK main program into a separate program.
![Thumbup :thumbup:](./images/smilies/icon_thumbup.gif)
![Thumbup :thumbup:](./images/smilies/icon_thumbup.gif)
Moderators: tmplinshi, arcticir
Tested and it worksfeiyue wrote:@AHKStudent, I fixed this problem, and now it can package the AHK main program into a separate program.
works perfectly!!! Thank you so much! your code rocks!!!!!!!!!!!!!!!!!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.
Code: Select all
Msgbox, OK !
Esc::Reload()
add #NoTrayIconFluffyMrKitty wrote:Is there any way to have the encrypted script run without a tray icon?
@FluffyMrKitty, You have found a good script, and I like it very much.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.
Code: Select all
dir:=A_WorkingDir
IniFile = %dir%\SafeSW.ini
Code: Select all
CheckAuth:
ListLines, Off
SetTimer,, Off
Suggestions for additional security:feiyue wrote:Updated to the V2.0 version, Enhance the difficulty of cracking.
There are a lot of c and c++ open source code that you can compile into machine code or use, like NCrypt for example, https://sourceforge.net/projects/ncrypt/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?
AHK_H already has the ability to use encryption, Refer to https://autohotkey.com/boards/viewtopic.php?f=67&t=6013thank you Fei, this is great stuff! Would it also work with AHK_H? would be great if it does. Thank you again!
Your comment comes off as ill-informed, so I hope you are not trolling. If it was meant specifically for gaming, then it would be in the gaming section. It's an optional source code protection feature, that deters casual users from tampering and can possibly provide some security inside say a school or business, that is deploying AutoHotkey scripts on various machines. Many other programming languages that are interpreted or compiled into an intermediate form (such as C#, Java, or Python) utilize such protections (encryption or obfuscation). AutoHotkey is not compiled directly into machine code, like say C, C++, or Pascal. Thus it can be more easily "decompiled" (again like C#, Java, or Python) by 3rd parties.
Users browsing this forum: No registered users and 18 guests