Jump to content
Xerori

AutoIt Obfuscator? - (Moved)

Recommended Posts

Xerori

Have you seen this tool?

https://www.pelock.com/autoit-obfuscator/

Is it any good? I've tried some scripts and it makes a mess out of it, but they work like my original code.

How does it work? I'm looking something to protect my source code from decompilation.

Share this post


Link to post
Share on other sites
water

Welcome to AutoIt and the forum!

Please make sure you post in the correct forum!
The forum header clearly states: " Do not create AutoIt-related topics here, use the AutoIt General Help and Support or AutoIt Technical Discussion forums."

Did you use the search function of AutoIt the forum? It has been discussed multiple times what the tool does and why it isn't part of the distribution any longer ;)

Edited by water

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-12-03 - Version 1.4.11.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
iCal (2019-01-22 - Version 0.1.0.0) - Download - General Help & Support
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
Jos
1 hour ago, Xerori said:

Is it any good? I've tried some scripts and it makes a mess out of it, but they work like my original code.

How does it work? I'm looking something to protect my source code from decompilation.

Obfuscation has nothing to do with decompiling,  and the latter is not to be discussed on this forum.
my 2 cents as having written the original Obfuscator quite some time ago: All obfuscated code can be translated back! The only thing that will be lost are the Variable and Func names.

Jos


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Xerori

But how to do it? I have tried myself with simple search & replace and I couldn't go far?

Share this post


Link to post
Share on other sites
Xerori

How to unprotect something like this? It doesn't look that simple, at least to me.

Share this post


Link to post
Share on other sites
x_bennY

In my opnion depending on the size of the project when you just change the names of vars and funcs you almost make the code unreadeble. I tried to do it with some obfuscators but i always get some erros on functions (of course) like "hotkeyset", "onautoitexit", "execute" and etc...

Share this post


Link to post
Share on other sites
Jos
46 minutes ago, x_bennY said:

In my opnion depending on the size of the project when you just change the names of vars and funcs you almost make the code unreadeble. I tried to do it with some obfuscators but i always get some erros on functions (of course) like "hotkeyset", "onautoitexit", "execute" and etc...

Also with au3stripper? 

Jos


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
x_bennY
3 hours ago, Jos said:

Also with au3stripper? 

Jos

Yes, with au3stripper my script doesn't work

Share this post


Link to post
Share on other sites
Jos

So what exactly does it show when yoy run au3stripper, as I am pretty sure it ill tell you exactly which lines/functions it has issues with?

Jos


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
gil900

I also had problems with au3stripper. I had to lower the version to 16.612.1119.0 that created in 6/12/2016 to be able to compile my project with random vars and functions names.

 

You broke au3stripper since this date / version


Thank you so much for existing, Autoit and it's community is awesome and gave me very much!
I am so grateful so I contributed 100$ because I feel that this is the right thing to do  :)
If anyone also thinks that he should contribute because he benefits from Autoit, I suggest doing the same

Share this post


Link to post
Share on other sites
Jos
11 minutes ago, gil900 said:

You broke au3stripper since this date / version

Thank s for the compliment...

Now either try being serious with me and post a script showing the issue or simply shut up as this does contribute to my motivation to continue any of these freely provide tools I have created and maintain.

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
gil900

Sorry, I was not wanted to sound like that.

I gave 100$ contribution. A thing I should done long before.

I suggest that everyone will give some contribution to Autoit maintains and this is the right thing to do especially if you get benefit from Autoit and you just pissed off Jos.

Thank you very much for your efforts.

 

 

EDIT:

Back to the topic:

The bug was that when I compile the project, I get 2 red errors in the console that austripper got fatal errors and stated that the script was not stripped.
I am not in front of the project but when I will back to work on it, I will reproduce the bug and send you what exactly was the error messages

 

 

Edited by gil900

Thank you so much for existing, Autoit and it's community is awesome and gave me very much!
I am so grateful so I contributed 100$ because I feel that this is the right thing to do  :)
If anyone also thinks that he should contribute because he benefits from Autoit, I suggest doing the same

Share this post


Link to post
Share on other sites
Jos

My guess is that your issue is simple: Since that version of AutoIt3rapper, not au3stripper, the original source is used instead of the stripped source when au3stripper retuns an  errorcode by default. This because a lot of folks do no bother to read these warnings and complain about things not working.
There is an directive available since the last version which you can use to still use the stripped source as can be read in the helpfile:

; Au3Stripper Settings
#AutoIt3Wrapper_Run_Au3Stripper=                 ;(Y/N) Run Au3Stripper before compilation. default=N
#Au3Stripper_Parameters=                         ; Au3Stripper parameters...see SciTE4AutoIt3 Helpfile for options
#AutoIt3Wrapper_Au3stripper_OnError=             ;(C/S/ForceUse) Continue/Stop on Errors/Continue using stripped source in Exe (Default=C)

...but again...this is a guess as long as not reproducer or exact information is produced.

1 hour ago, gil900 said:

Sorry, I was not wanted to sound like that.

I gave 100$ contribution. A thing I should done long before.

As stated in the PM: I don't care about money and this money goes (rightly so) to Jon as he is paying for all the hosting and AutoIt3 is baby.

Jos


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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

×