Jump to content

Aut2exe Password


Recommended Posts

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?

Link to comment
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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • Administrators

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.
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...