AutoHotKey best settings?

Post here any topics that related to Enigma Protector, its functionality, your misunderstanding, offers to improvements etc etc etc
Post Reply
heopas
Posts: 28
Joined: Mon Jun 25, 2012 9:15 pm

AutoHotKey best settings?

Post by heopas »

Hello, i am writing a AutoHotKey Script and i want to use Enigma Protector to protect the source code. Any suggestion to remove RCData -> AutoHotKey Script from Resource Hacker.

Some tests results:
http://www.autohotkey.com/community/vie ... =1&t=88702
Enigma
Site Admin
Posts: 2939
Joined: Wed Aug 20, 2008 2:24 pm

Re: AutoHotKey best settings?

Post by Enigma »

Just the quickly solution could be using the option Registration Features - Common - Execute only if registered + Encrypt with encryption constant.
This way, protected application can't be run without valid registration key and so cracked.
But if the user will buy it, and user will have a key for it, then for what reason he will crack it?

Anyway, I have some ideas how to implement this specific protection anyway. Attach here some test project written in AutoHotKey.
heopas
Posts: 28
Joined: Mon Jun 25, 2012 9:15 pm

Re: AutoHotKey best settings?

Post by heopas »

He is going to crack it to make multiple copies.
You do not have the required permissions to view the files attached to this post.
heopas
Posts: 28
Joined: Mon Jun 25, 2012 9:15 pm

Re: AutoHotKey best settings?

Post by heopas »

Examples to work enigma api with autohotkey.

Code: Select all

checkkey := DllCall("enigma_ide.dll\EP_RegLoadAndCheckKey()")
if (checkkey = 1) {
	checkkey := DllCall("enigma_ide.dll\EP_RegKeyStatus")
	if (checkkey != 1)
		ExitApp
}
------------------------------------------------------------------------------------------
ptr := A_PtrSize ? "ptr" : "uint"
len := DllCall("enigma_ide.dll\EP_ProtectedStringByID", "int", 1, ptr, 0, "int", 0)
if (len > 0)
{
    VarSetCapacity(str, len*2, 0)
    len := DllCall("enigma_ide.dll\EP_ProtectedStringByID", "int", 1, "str", str, "int", len)
    if (len > 0)
        PW = %str%
}
Enigma
Site Admin
Posts: 2939
Joined: Wed Aug 20, 2008 2:24 pm

Re: AutoHotKey best settings?

Post by Enigma »

The way you are using for protection is really good. I also recommend you to add as more protected strings to protection as possible.
heopas
Posts: 28
Joined: Mon Jun 25, 2012 9:15 pm

Re: AutoHotKey best settings?

Post by heopas »

What about protection strings? Are secure? Can someone find them easy?
Legend
Posts: 6
Joined: Tue Apr 08, 2014 7:24 am

Re: AutoHotKey best settings?

Post by Legend »

Any example on EP_RegKeyExpirationDate and EP_RegKeyExpirationDateEx using autoit and autohotkey?

Thanks.
Enigma
Site Admin
Posts: 2939
Joined: Wed Aug 20, 2008 2:24 pm

Re: AutoHotKey best settings?

Post by Enigma »

Legend wrote:Any example on EP_RegKeyExpirationDate and EP_RegKeyExpirationDateEx using autoit and autohotkey?
Maybe just this one:

Code: Select all

date := DllCall("enigma_ide.dll\EP_RegKeyExpirationDateEx")
Legend
Posts: 6
Joined: Tue Apr 08, 2014 7:24 am

Re: AutoHotKey best settings?

Post by Legend »

Any example on EP_RegKeyExpirationDate?

I can't figure out how its done.

Thanks.
Post Reply