Page 1 of 1

AutoHotKey best settings?

PostPosted: Mon Jul 16, 2012 9:30 am
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

Re: AutoHotKey best settings?

PostPosted: Mon Jul 16, 2012 9:45 am
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.

Re: AutoHotKey best settings?

PostPosted: Mon Jul 16, 2012 9:56 am
by heopas
He is going to crack it to make multiple copies.

Re: AutoHotKey best settings?

PostPosted: Mon Jul 16, 2012 10:01 am
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%
}

Re: AutoHotKey best settings?

PostPosted: Mon Jul 16, 2012 3:08 pm
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.

Re: AutoHotKey best settings?

PostPosted: Mon Jul 16, 2012 3:25 pm
by heopas
What about protection strings? Are secure? Can someone find them easy?

Re: AutoHotKey best settings?

PostPosted: Sat Sep 20, 2014 6:47 pm
by Legend
Any example on EP_RegKeyExpirationDate and EP_RegKeyExpirationDateEx using autoit and autohotkey?

Thanks.

Re: AutoHotKey best settings?

PostPosted: Tue Sep 23, 2014 9:05 am
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")

Re: AutoHotKey best settings?

PostPosted: Wed Sep 24, 2014 6:51 am
by Legend
Any example on EP_RegKeyExpirationDate?

I can't figure out how its done.

Thanks.