Can enigma support autoit and autohotkey?

Post here messages if you have any problems with working of Enigma Protector
Post Reply
newuser
Posts: 49
Joined: Tue Apr 13, 2010 5:43 pm

Can enigma support autoit and autohotkey?

Post by newuser »

The title state it all. If yes, how's it done?

A little tutorial or example would be fine.

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

Re: Can enigma support autoit and autohotkey?

Post by Enigma »

Hi, yes, it is possible, steps are very simple:
- download attached upx.zip (unzip it) - it is UPX packer, autoit files protected with this
- then just run the command to unpack your file "upx.exe -d yourfile.exe", you will get yourfile.exe unpacked, it will be in about 2 times larger than original
- then protected yourfile.exe with Enigma Protector with any kind of options!

Also, autoit files has some specific. To improve protection I advise to use Virtual Box (if necessary) and more helpful advice - use different kind of Enigma API in the scripts (it is possible). I do not know, if it is possible to call external libraries from autoit scripts? If yes, then you are lucky and you may use Enigma API.

If you provide me information how to call external dll from script I will tell you how to call Enigma API. But the common advice - load library 'enigma_ide.dll' and then call Enigma API.
Attachments
upx.zip
(260.88 KiB) Downloaded 1528 times
Enigma
Site Admin
Posts: 2943
Joined: Wed Aug 20, 2008 2:24 pm

Re: Can enigma support autoit and autohotkey?

Post by Enigma »

Script syntax is very similar to Visual Basic, look at the "Enigma Protector\EnigmaSDK\VB" folder "enigma_ide.bas" file, there are definitions of Enigma API for Visual Basic, maybe it also could be supported by autoit!

Edited:
For example, this is only my thoughts, to call a Enigma API function you may use the following code

Code: Select all

DllCall("enigma_ide.dll", "int", "EP_RegLoadAndCheckKey");
if this call return non zero, then the program is registered. Do not forget that Enigma API will work only after you protect the file.

Syntax is more like to Opus... seems.
prasid
Posts: 45
Joined: Fri Aug 22, 2008 3:17 pm
Location: Inside Enigma Core
Contact:

Re: Can enigma support autoit and autohotkey?

Post by prasid »

This is awesome news for ALL AutoIt Developers.

AutoIt Home: http://www.autoitscript.com/
heopas
Posts: 28
Joined: Mon Jun 25, 2012 9:15 pm

Re: Can enigma support autoit and autohotkey?

Post by heopas »

Correct way:

Code: Select all

Local $checkKey = DllCall("enigma_ide.dll", "int", "EP_RegLoadAndCheckKey")
If $checkKey[0] <> 1 Then
	Exit
EndIf
Post Reply