sublimnl Posted January 21, 2010 Share Posted January 21, 2010 Hi guys. I am getting ready to release a program that I have been working on in AutoIt and I believe that in the past you have been able to decompile an AU3 exe back to its source code, or that the source code was embedded within the exe. I think I read that this is not the case anymore and just want to make double sure that there is nothing special I need to do to protect my code from being extracted from a compiled exe. Thanks! Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted January 21, 2010 Moderators Share Posted January 21, 2010 sublimnl,Searching the forums will provide you with a lot more information in greater detail, but in brief:- Your plain language script is within the compiled .exe, but in compressed form. It is not immediately viewable with a hex editor, but is by no means secure as it is expanded in memory when the .exe is run.- Obfuscator (part of the full SciTE4AutoIt3 package) will obscure your script by changing variable and constant names (and a lot more!), which makes it harder to decompile but again does not render the .exe secure.So, compiling an AutoIt script will prevent quick snooping, but a determined, experienced hacker can relatively easily get your source - including passwords, specific filenames, etc - or the encryption routines you have used in your script to encrypt/decrypt them if they are stored in another file.Probably not what you wanted to hear.... M23 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 columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
sublimnl Posted January 21, 2010 Author Share Posted January 21, 2010 thanks for that. yes, not what I wanted to hear, but after looking at the obfuscated source code, I think that will be enough for me. Link to comment Share on other sites More sharing options...
Juvigy Posted January 22, 2010 Share Posted January 22, 2010 Obsucator doesnt help much as what it does can be reversed easily. This is how it is for now.Use encryption if you store passwords or sensitive data in your script. Link to comment Share on other sites More sharing options...
user101 Posted January 22, 2010 Share Posted January 22, 2010 you can probably try armadillo on your exe after to encrypt it Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now