Jump to content
Sign in to follow this  
rootx

Compile question help

Recommended Posts

rootx

I would like to ask you some questions about compiling.

I use Autoit wrapper gui 15.920.938.0
1. I would like to delete all comments from my compiled code.

If is possible...

I am using the 3.3.14.2 version of Autoit, I would like this time to protect my code, without using external tools that are seen as viruses, how do you protect your code usually?

Thx :)

Edited by rootx

Share this post


Link to post
Share on other sites
Mobius

Aut2Exe does (1) in your list automatically.

  • Like 1

Share this post


Link to post
Share on other sites
rootx
2 hours ago, Mobius said:

Aut2Exe does (1) in your list automatically.

OK, thx

Share this post


Link to post
Share on other sites
RTFC
18 minutes ago, rootx said:

enough to protect the code decompilation?

You cannot protect AutoIt code from decompilation itself.:(

However, you can ensure that any such attempt will produce utter garbage outside of a sanctioned environment (valid user/machine/etcetera) if you encrypt your script with CodeCrypter (link in my signature).;)

Share this post


Link to post
Share on other sites
rootx
1 minute ago, RTFC said:

You cannot protect AutoIt code from decompilation itself.:(

However, you can ensure that any such attempt will produce utter garbage outside of a sanctioned environment (valid user/machine/etcetera) if you encrypt your script with CodeCrypter (link in my signature).;)

About virus total? any trouble? thx

CodeScannerCrypter.bundle.v1.8.7z that version?

thx

Share this post


Link to post
Share on other sites
RTFC

If your compiled script is erroneously identified as a virus, see here. There's nothing I can do about that.

Yes, that version will do. Try it on a simple helloworld test script first, to learn how it works (don't forget to add #include MCFinclude.au3 if you wish to encrypt your script). Also please spend some time reading the FAQ (pdf file in the bundle) before posting questions in the CodeCrypter thread, should you run into difficulties.

Best of luck.

  • Like 1

Share this post


Link to post
Share on other sites
rootx
6 hours ago, RTFC said:

If your compiled script is erroneously identified as a virus, see here. There's nothing I can do about that.

Yes, that version will do. Try it on a simple helloworld test script first, to learn how it works (don't forget to add #include MCFinclude.au3 if you wish to encrypt your script). Also please spend some time reading the FAQ (pdf file in the bundle) before posting questions in the CodeCrypter thread, should you run into difficulties.

Best of luck.

Thx, it was all very simple, I created my encrypted .exe. But....

Does not copy the files inside, why?

Example: FileInstall("C:\Project\lang\en.ini", @ScriptDir & "\lang\en.ini")

Maybe I have to write after #include <MFC include.au3>?

Thx:sweating:

Share this post


Link to post
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
Sign in to follow this  

  • Similar Content

    • Dreamfire
      By Dreamfire
      Hi,
      Since today, exe's are being flagged as having a trojan by Windows Defender (Fuery.B!cl)
      Version:  3.3.14.3 - SciTE Version 3.7.3



       

    • drapdv
      By drapdv
      So, I have this odd issue happening with UIAWrappers.  When I run simplespy.au3 through SciTE, it finds the object I'm trying to work with, no problem. But, when I compile simplespy.exe, it can't find it.  Another script that utilizes UIAWrappers is experiencing the same phenomenon. EDIT: Compiling as 32-bit or 64-bit does not affect this behavior.
      The trouble starts at the very first object I try to get via _UIA_getObjectByFindAll, so I included the $properties2Match array and the object properties that were returned by _UIA_getPropertyValue for that first object both when running from SciTE and when compiled.
      It always finds the matches for the title and control type properties.  But when compiled, it fails to find the Automation ID property.  Any ideas as to why this would be happening?  Hoping junkew will see this and have an idea.
       
      These are the $properties2Match
      30005|Screen/PVN - ###.###.##.## - CDK Drive|0|False
      30003|50032|0|False
      30011|Portal|0|False
       
      Object properties when running from SciTE:
      <propertymatching>       
              j:1 propID:[30005] expValue:[Screen/PVN - ###.###.##.## - CDK Drive]actualValue:[Screen/PVN - ###.###.##.## - CDK Drive]1
              j:2 propID:[30003] expValue:[50032]actualValue:[50032]1
              j:3 propID:[30011] expValue:[Portal]actualValue:[Portal]1  
      </propertymatching>
       
      Object properties when script is compiled:
      <propertymatching>
              j:1 propID:[30005] expValue:[Screen/PVN - ###.###.##.## - CDK Drive]actualValue:[Screen/PVN - ###.###.##.## - CDK Drive]1
              j:2 propID:[30003] expValue:[50032]actualValue:[50032]1
              j:3 propID:[30011] expValue:[Portal]actualValue:[]0  
      </propertymatching>
       
    • FrancescoDiMuro
      By FrancescoDiMuro
      Good evening everyone
      I was trying to compile my executable, adding #pragma directives instead of #AutoIt3Wrapper* directives, and, I don't know why the #pragma compile doesn't add the Author field to the executable.

      These are the directives:
      #pragma compile(Author, 'Surname Name') ; or #pragma compile(Author, Surname Name)
      and this is the output, in both cases:
       
      - #pragma directive Author found but don't understand it so will ignore: #pragma compile(Author, 'Surname Name') - #pragma directive Author found but don't understand it so will ignore: #pragma compile(Author, Surname Name) What am I missing?
      Thanks

      Francesco
    • Barrtrek
      By Barrtrek
      I get the "Unable to add resources" error related to AppData\Local\AutoIt v3\Aut2Exe when compiling with a large FileInstall of a 1.5GB file.  Is there a size limit I need to be aware of?  I've also disabled or removed Trend from three different machines and had the same results.  I've had issues like this in the past but have compiled after the Aut2Exe folder was excluded in AV.  That doesn't seem to be the problem this time around.  If I comment out the FileInstall the script compiles successfully.
    • Earthshine
      By Earthshine
      This baby can do almost any language! I found Gleany on this site and set it up on a fresh win10 install. all i would need to do to make it build an exe of the search files app we discovered is the .NET Target Framework download to build 100 % but the exe works and generates! You also need to add the path the the version of csc.exe that you want to run. MSBuild is part of .NET and can read your .csproj file.
      YOU can develop .NET OR C/C++ on this baby!
      Super lightweight (fit for crappy laptops), and you can use any dev compilers you wish, Ming, MS, etc, whatever.
      To use the build, you need to open the csproj file, else, to check your syntax it can compile individual files as well. The warning are because I do not have the .NET 4.6 Targeting Pack installed... LOL, and I could get rid of the Core warning, yes, I did not want to build a .NET Core.dll I wanted a live x64 exe! Told you MSBUILD could handle .CSPROJ, .VBPROJ, and all others Microsoft. Don't let Visual Code or Visual Studio slow you down, although, this works with Visual Code as well but there is only debugging in CORE.DLL projects

      ListFiles Example.zip
       

×