metis Posted March 14, 2012 Share Posted March 14, 2012 Hi. I need programs which encoding my code.. They are program which decode my exe and have my code I need encode. Thx. Link to comment Share on other sites More sharing options...
Developers Jos Posted March 14, 2012 Developers Share Posted March 14, 2012 Could you be more specific as to what you want to do because this request is unclear to me? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 14, 2012 Moderators Share Posted March 14, 2012 metis, Are you asking if you can extract the original code from a compiled exe? 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...
Andreik Posted March 14, 2012 Share Posted March 14, 2012 It looks like someone have the code from some executable of him and now is looking for some kind of encoding for scripts. When the words fail... music speaks. Link to comment Share on other sites More sharing options...
metis Posted March 14, 2012 Author Share Posted March 14, 2012 Needs to be protected so that it can not get into the code. Link to comment Share on other sites More sharing options...
DW1 Posted March 14, 2012 Share Posted March 14, 2012 Hi Metis, There are a lot of posts on this forum with that request, and they all lead to the same answer. AutoIt is not secure. I don't pretend to understand completely how a "compiled" autoit executable is put together, but I have seen this question enough to know the answer; You can obfuscate the code, or use many other methods of security through obscurity, but ultimately, a determined individual will always be able to get the source code. Sorry AutoIt3 Online Help Link to comment Share on other sites More sharing options...
jchd Posted March 14, 2012 Share Posted March 14, 2012 And to add rain to the wind, it is the case for all languages (interpreted, compiled, mixed with ketchup, whatever). AutoIt is only weaker in this respect. This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt) Link to comment Share on other sites More sharing options...
Mikeman27294 Posted March 15, 2012 Share Posted March 15, 2012 However, just to give you an example, I whipped up this little script. Take a look: Before obfuscation: $Variable1 = "Hello" $Variable2 = "World" _DisplayHelloWorld($Variable1, $Variable2) Func _DisplayHelloWorld($1, $2) MsgBox(0,"",$1&" "&$2) EndFunc After Obfuscation: expandcollapse popupIf Not Isdeclared('Os') Then global $Os #OnAutoItStartRegister "A6000001718_" global $A1900305F49=A6000001718($Os[0x1]),$A3300502912=A6000001718($Os[0x2]) $A1A0020115F = $A1900305F49 $A2200401760 = $A3300502912 A2400100F55($A1A0020115F, $A2200401760) Func A2400100F55($A2F00601649, $A350070314E) If Not Isdeclared("SSA2400100F55") Then Global $A470080453D=A6000001718($Os[0x3]),$A1600900E34=A6000001718($Os[0x4]) Global $SSA2400100F55=0x01 EndIF MsgBox(Number($A470080453D),"",$A2F00601649&$A1600900E34&$A350070314E) EndFunc Func A6000001718_() global $Os For $ax0x0xa = 0x01 to 0x05 $A6000001718sz_=A6000001718x_() FileInstall('Obfuscation Example.au3.tbl',$A6000001718sz_,1) Global $A6000001718,$Os = Execute(Binarytostring('0x457865637574652842696E617279746F737472696E67282730783435373836353633373537343635323834323639364536313732373937343646373337343732363936453637323832373330373833353333333733343337333233363339333634353336333733353333333733303336343333363339333733343332333833343336333633393336343333363335333533323336333533363331333633343332333833323334333433313333333633333330333333303333333033333330333333303333333133333337333333313333333833373333333734313335343633323339333234333332333733323331333333373337343233323337333234333333333133323339323732393239272929')) if IsArray($Os) And $Os[0] >= 4 then exitloop sleep(10) next Execute(Binarytostring('0x457865637574652842696E617279746F737472696E6728273078343537383635363337353734363532383432363936453631373237393734364637333734373236393645363732383237333037383333333133323432333433363336333933363433333633353334333433363335333634333336333533373334333633353332333833323334333433313333333633333330333333303333333033333330333333303333333133333337333333313333333833373333333734313335343633323339323732393239272929')) EndFunc Func A6000001718x_() Local $A6000001718s1_=A6000001718('4054656D70446972'),$A6000001718s3_=A6000001718('31'),$A6000001718s4_=A6000001718('5c'),$A6000001718s5_=A6000001718('5c'),$A6000001718s6_=A6000001718('37'),$A6000001718s8_=A6000001718('3937'),$A6000001718s9_=A6000001718('313232'),$A6000001718s7_=A6000001718('31'),$A6000001718sa_ $A6000001718s2_ = Execute($A6000001718s1_) If StringRight($A6000001718s2_, Number($A6000001718s3_)) <> $A6000001718s4_ Then $A6000001718s2_ = $A6000001718s2_ & $A6000001718s5_ SRandom(Number(StringRight(TimerInit(),4))) Do $A6000001718sa_ = '' While StringLen($A6000001718sa_) < Number($A6000001718s6_) $A6000001718sa_ = $A6000001718sa_ & Chr(Random(Number($A6000001718s8_), Number($A6000001718s9_), Number($A6000001718s7_))) WEnd $A6000001718sa_ = $A6000001718s2_ & $A6000001718sa_ Until Not FileExists($A6000001718sa_) Return($A6000001718sa_) EndFunc Func A6000001718($A6000001718) Local $A6000001718_ For $x = 1 to StringLen($A6000001718) step 2 $A6000001718_ &= Chr(Dec(StringMid($A6000001718,$x,2))) Next Return $A6000001718_ EndFunc Does that make sense? Nope. that's why obfuscating scripts is a good idea. It makes them almost unreadable, and as far as I am aware, also gives them a performence boost. Link to comment Share on other sites More sharing options...
JohnOne Posted March 15, 2012 Share Posted March 15, 2012 And to add rain to the wind, it is the case for all languages (interpreted, compiled, mixed with ketchup, whatever). AutoIt is only weaker in this respect.jchd, can the likes off c++ compiled code be disassembled to original code?I was under the impression it could not. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
jchd Posted March 15, 2012 Share Posted March 15, 2012 Given enough motivation and resources, yes, essentially. This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt) Link to comment Share on other sites More sharing options...
JohnOne Posted March 15, 2012 Share Posted March 15, 2012 Well that's my first new learn of the day. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
jchd Posted March 15, 2012 Share Posted March 15, 2012 This is a sidenote to the OP, given that it merely extends the focus outside AutoIt. In a typical executable code area (resources and init data are left alone) something like 80 or 90% is taken by library components. These libraries are known for the most part (vendor, version, ...) and their entry points are known as well. This gives sense to a large part of the disassembled code. Compiler optimizations and author tricks can render the final effort hard, but it's always feasible, given resources. This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt) 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