Tomb Posted March 9, 2008 Share Posted March 9, 2008 well i always see people talking about their code being stolen. they want to protect it. i noticed that all of the include files in the autoit folder are just functions. and these get saved to your program when you compile it. so i started thinking, if i make my own #include <*.au3> with a file in the include folder, and i put all of my functions for a script in it, when i compile my script they will all get included, and if someone were to decompile my script with a hacked decompiler of some sort, the code would be missing pieces (in this case the functions) making the code useless. is this accurate? Link to comment Share on other sites More sharing options...
martin Posted March 9, 2008 Share Posted March 9, 2008 well i always see people talking about their code being stolen. they want to protect it. i noticed that all of the include files in the autoit folder are just functions. and these get saved to your program when you compile it. so i started thinking, if i make my own #include <*.au3> with a file in the include folder, and i put all of my functions for a script in it, when i compile my script they will all get included, and if someone were to decompile my script with a hacked decompiler of some sort, the code would be missing pieces (in this case the functions) making the code useless. is this accurate?No.All that #include does is to add the code in the include file to your script before it is compiled, so if you were able to decompile it you would see the code as though you hadn't used #include but just written the code there. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
Tomb Posted March 9, 2008 Author Share Posted March 9, 2008 No.All that #include does is to add the code in the include file to your script before it is compiled, so if you were able to decompile it you would see the code as though you hadn't used #include but just written the code there.ah so #includes are shown in the decompile? Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted March 9, 2008 Share Posted March 9, 2008 ah so #includes are shown in the decompile?Yes .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Tomb Posted March 9, 2008 Author Share Posted March 9, 2008 Yeswell thats not cool. Link to comment Share on other sites More sharing options...
NELyon Posted March 20, 2008 Share Posted March 20, 2008 Try this. Blah.au3 MsgBox(0x40, "Hello", "I am an informative window. Try to h4x0r me lolz") Blah2.au3: #Include "Blah.au3" Try it and see what happens. 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