bcording Posted April 5, 2004 Posted April 5, 2004 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?
ezzetabi Posted April 5, 2004 Posted April 5, 2004 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
scriptkitty Posted April 5, 2004 Posted April 5, 2004 (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 EndIfto 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 April 5, 2004 by scriptkitty AutoIt3, the MACGYVER Pocket Knife for computers.
Administrators Jon Posted April 5, 2004 Administrators Posted April 5, 2004 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.
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