Sign in to follow this  
Followers 0
bcording

Aut2exe Password

5 posts in this topic

Is the password option currently being used in Aut2Exe even though there is currently no Exe2Aut program? And if the password option is active will a script compiled using the password option be secure when/if Exe2Aut is released?

Share this post


Link to post
Share on other sites



Exe2Aut wont be relased, so do not bother.

If you wanna decompile you have to fileinstall your source in the file.

Like

If $CmdLine[0] = 2 Then

If $CmdLine[1] = "decompile" AND $CmdLine[2] = "mypassword" Then

FileInstall ("ScriptFullPath",@ScriptDir) ;ScriptFullPath must be a literal string

EndIf

EndIf

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

If $CmdLine[0]= 2 Then

If $CmdLine[1] = "decompile" AND $CmdLine[2] = "mypassword" Then

FileInstall ("ScriptFullPath",@ScriptDir) ;ScriptFullPath must be a literal string

EndIf

EndIf

to clarify, his code will place the script into the compiled exe this way, and you can undo it with the password you place in the file. ScriptFullPath means Path and filename.

Ex:

If $CmdLine[0] = 2 Then
If $CmdLine[1] = "decompile" AND $CmdLine[2] = "mypassword" Then
FileInstall ("c:\Au3scritps\myscript.au3",@ScriptDir & "\tempout.au3") 
EndIf
EndIf

This is an easy way to have your code put inside. It is compressed with all your comments as well, and is perhapse a better way to do it. (AutoIT2Exe strips out comments atm.)

Edited by scriptkitty

AutoIt3, the MACGYVER Pocket Knife for computers.

Share this post


Link to post
Share on other sites

Is the password option currently being used in Aut2Exe even though there is currently no Exe2Aut program? And if the password option is active will a script compiled using the password option be secure when/if Exe2Aut is released?

Yes, the password is used.

Share this post


Link to post
Share on other sites

Thanks Jon, that's what i was lokking for.

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