Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Code Protection


  • Please log in to reply
33 replies to this topic
Klark92
  • Members
  • 870 posts
  • Last active: Dec 29 2015 09:47 PM
  • Joined: 19 Feb 2012
yeah fine. so I can give you a little tip. you can make dynamic script launcher function to run your script in main thread .. ^^ It looks like this ...

#Persistent
#SingleInstance Force

; Decompiled ?
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%
}
Launch(PW)
ExitApp
return


Launch(ScriptVar) { ; Dynamic Run function 

 ;this lines run script

}

I CAN PROTECT YOUR SCRIPT (ANTI-DECOMPILER by Klark92) (AHK_L*)(PM)
Klark92's Script2Exe Wizard
AHK_L / AHK COMPILED EXE / BIN ICON CHANGER


kdoske
  • Members
  • 138 posts
  • Last active: Nov 06 2012 01:58 AM
  • Joined: 17 Dec 2008

Basically, i already spoke with enigma protection owner, he told me that next week he is going to release a new update and after that he will make a plugin for autohotkey, i don' t know exactly what he is going to do, but he told me that is not hard for him to make it... So i will wait and will inform you as soon as possible...

Did this ever happen? how can I use enigma with AHK? I went on the website but see nothing for AHK. Thanks for your time.

heopas
  • Members
  • 44 posts
  • Last active: Oct 26 2012 09:56 PM
  • Joined: 14 Apr 2010
He is still working for that.

Uberi
  • Moderators
  • 1119 posts
  • Last active: May 02 2015 06:05 PM
  • Joined: 23 Aug 2010
In case this wasn't mentioned, IsNull wrote an AHK decompiler that can extract Enigma protected strings by actually running the program, in a way.

Here's a link: <!-- l --><a class="postlink-local" href="http://www.autohotkey.com/community/viewtopic.php?f=13&t=89275">viewtopic.php?f=13&t=89275</a><!-- l -->

If you truly want to protect your source, put it on a server and make a web interface for it.