Jump to content

Recommended Posts

Posted

i know how to encrypt/decrypt information.  (for example: using .au3 to encrypt/decrypt non-script informationbut i am unsure on how to (in a simple way) encrypt/decrypt a program file that a device can still read and execute.. could someone please be kind enough to share information on how to encrypt/decrypt a program?

Encrypt/Decrypt to hide personal information within the software..

  • Moderators
Posted

Moved to the appropriate forum, as the Developer General Discussion forum very clearly states:

  Quote

General development and scripting discussions.


Do not create AutoIt-related topics here, use the AutoIt General Help and Support or AutoIt Technical Discussion forums.

Expand  

Moderation Team

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Posted

@dakotadevada I really don't know what bugging you, but I use HTML reports in AutoIt. It gives me the power to draw HTML reports, including SVG images and scalable content. All you have to do is display the .html file.

As to your original question about decrypting executables? I think you are the only person with any comprehension as to what you think that question entails.

Skysnake

Why is the snake in the sky?

Posted
  On 8/30/2021 at 2:50 AM, dakotadevada said:

could someone please be kind enough to share information on how to encrypt/decrypt a program?

Expand  

 

To encrypt or decrypt files , AutoIt offers the following functions (you probably already found them yourself).

Decrypts a file with specified key and algorithm : _Crypt_DecryptFile

Encrypts a file with specified key and algorithm : _Crypt_EncryptFile

  On 8/30/2021 at 2:50 AM, dakotadevada said:

how to (in a simple way) encrypt/decrypt a program file that a device can still read and execute.

Expand  

At runtime, the program/script must be present in an unencrypted form so that the interpreter can execute it.

  On 8/30/2021 at 2:50 AM, dakotadevada said:

Encrypt/Decrypt to hide personal information within the software..

Expand  

Sensitive data (passwords etc.) should not be stored in the source code anyway. It also doesn't matter much whether you use the format .au3 (clear code), .a3x (tokenized code) or .exe ('compiled' , a3x plus interpreter).

.a3x and .exe may provide minimal protection against DAUs, but nothing to rely on.

Note : The following project from @RTFC might be of interest to you : codecrypter-encrypt-your-script

Musashi-C64.png

"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

Posted
  On 8/30/2021 at 5:06 AM, dakotadevada said:

i know HTML + AutoIT isn't popular, so there isn't much information on it.

Expand  

I'm afraid I don't know what exactly your goal is, since AutoIt+Html was not part of your initial question. A quick search on "autoit html report" reveals some hits that are quite useful, e.g. _array2htmltable

  On 8/30/2021 at 6:28 AM, Skysnake said:

... but I use HTML reports in AutoIt. It gives me the power to draw HTML reports, including SVG images and scalable content. All you have to do is display the .html file.

Expand  

I agree with that. The use of Html (depending on the task) can allow a very flexible implementation. Another approach would be e.g. the use of the Excel UDF from @water. However, for a detailed assistance we need more precise background information.

Musashi-C64.png

"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...