Jump to content

CodeCrypter - Encrypt your Script


RTFC
 Share

Recommended Posts

Hi @RTFC, just a quick question, to clarify the whole thing: is it possible to RUN a code-crypter protected (with let's say my own HD serial) executable on a 3rd part system?

So, I developed a Crypto manager, I want to protect it to hide the code and give it to my colleagues. Can they use it at home?

In order to use it but not to decode it.

Thanks,

Marco

 

Link to comment
Share on other sites

  • 2 months later...

Hi @RTFC

can you help me with this error thanks.No error in codescanner but when i try codecrypter after finishing when i try to test the the newly created it give me an error on the following line
    

Global $IV_PID2 = WinGetProcess ($HANDLE2[$ID])         ; {file:1}{line:644}{ref644}
>Running:(3.3.16.0):C:\Program Files (x86)\AutoIt3\autoit3_x64.exe "C:\Users\ADMIN\Desktop\CodeScannerCrypter.bundle\MCF0test.au3"    
+>Setting Hotkeys...--> Press Ctrl+Alt+Break to Restart or Ctrl+BREAK to Stop.
"C:\Users\ADMIN\Desktop\CodeScannerCrypter.bundle\MCF0test.au3" (4302) : ==> Variable subscript badly formatted.:
Global $IV_PID2 = WinGetProcess ($HANDLE2[$ID])
Global $IV_PID2 = WinGetProcess ($HANDLE2[^ ERROR
->09:58:55 AutoIt3.exe ended.rc:1
+>09:58:55 AutoIt3Wrapper Finished.
>Exit code: 1    Time: 2.195

 

Link to comment
Share on other sites

Welcome to the AutoIt forums.:)

As many before you, you overestimate my psychic powers. You'll need to produce the smallest-possible script (use <> code tags in your post) that reproduces the problem, plus your chosen CodeCrypter settings, if you wish me to have a look at your issue.

Link to comment
Share on other sites

  • 4 months later...

Hello everybody, my name is Lefty, I am a newbie here but have been working with AutoIT for 10 years. Now I have written a very long script with over 12,000 lines, scanned it with codescanner without any problems but when I either encrypt or obfuscate or translate or the three of them together I always several undefined functions like _WinAPI_GetProcessFileName or _GUICtrlListView_GetItemText even though i added the corresponding includes and these functions are listed in varios Function*.txt files created by codescanner. Any Clues? 

Link to comment
Share on other sites

In CodeCrypter, navigate to Tab Create Single-Build, and untick both "Skip redundant UDf definitions" and "Remove Orphaned Globals and UDFs",  and retry. And welcome to the forums.:)

Edited by RTFC
Link to comment
Share on other sites

  • 4 months later...

:sorcerer::cheer::cheer::cheer:

Celebrating one thousand downloads of the bundle.

Link to comment
Share on other sites

  • 1 year later...

Hi @habsi; welcome to the forum. In the CodeCrypter FAQ pdf (part of the bundle) you'll find an extensive description how to identify and fix issues. For example, have you tested that a BackTranslated version of your script (instead of an encrypted one) does work? If obfuscation is enabled, does the issue persist when this is disabled? If your script is larger than, say, fifty lines, then you should first create the smallest-possible reproducer test script (throw out all code that has nothing to do with the error and/or the targeted object), and test that script instead. If you then still can't figure out what's going wrong, then you could post that tiny reproducer script (which has to run in Scite without external dependencies) in this thread (please use the "<>" code tags) for me to have a look at.

Be aware though of what the Codecrypter FAQ states regarding CodeCrypting objects:

Quote

The following lines have issues that CodeCrypter cannot handle: (...) object queries and direct object method assignments (but object methods are supported)

Edited by RTFC
Link to comment
Share on other sites

6 hours ago, RTFC said:

Hi @habsi; welcome to the forum. In the CodeCrypter FAQ pdf (part of the bundle) you'll find an extensive description how to identify and fix issues. For example, have you tested that a BackTranslated version of your script (instead of an encrypted one) does work? If obfuscation is enabled, does the issue persist when this is disabled? If your script is larger than, say, fifty lines, then you should first create the smallest-possible reproducer test script (throw out all code that has nothing to do with the error and/or the targeted object), and test that script instead. If you then still can't figure out what's going wrong, then you could post that tiny reproducer script (which has to run in Scite without external dependencies) in this thread (please use the "<>" code tags) for me to have a look at.

Be aware though of what the Codecrypter FAQ states regarding CodeCrypting objects:

Ty @RTFC and yes idid tested backtranslate version of my script its work well just delete some part using object

But when i encryp and obfuscation my scrip also work but run slower already try encrpy only no nest also already try obfuscation only still make my scrip run slower 

And for my object 

"<Global $catton = objcreate("catton.aplication")>"

Link to comment
Share on other sites

Obviously a fully encrypted script runs more slowly than a plaincode one, as every line needs to be decrypted first! If you want to reduce slowdown, you can opt to encrypt only selected functions you wish to keep secret (see button "UDFs") or encrypt only a proportion, or every Nth line.

Regarding your object issue, one line is of course totally inadequate for any kind of test (and I have no idea what "catton" is). I would need from you the smallest possible test script that runs normally when unencrypted and fails when encrypted.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...