Jump to content

Encrypt / Decrypt executable FILE (via AutoIT) - (Moved)


Recommended Posts

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..

Link to comment
Share on other sites

  • Moderators

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.

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:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

@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?

Link to comment
Share on other sites

2 hours ago, dakotadevada said:

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

 

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

2 hours ago, dakotadevada said:

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

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

3 hours ago, dakotadevada said:

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

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."

Link to comment
Share on other sites

1 hour ago, dakotadevada said:

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

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

43 minutes ago, 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.

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."

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

  • Recently Browsing   0 members

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