Sign in to follow this  
Followers 0
Tomb

so i had this idea

6 posts in this topic

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?

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

Yes

well thats not cool.

:)

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
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
Sign in to follow this  
Followers 0