shaahin Posted October 18, 2006 Share Posted October 18, 2006 hi i want try to make a encryptor program. i want to know is there any way to save user's password in exe file. i mean my program's final user can set password for themselve and my program save it in itself for next use. i am waiting... Link to comment Share on other sites More sharing options...
shaahin Posted October 18, 2006 Author Share Posted October 18, 2006 ohhhhhhhh i don't want to use any other file! standalone exe that save anyone pass for him\her in itself. Link to comment Share on other sites More sharing options...
The Kandie Man Posted October 18, 2006 Share Posted October 18, 2006 ohhhhhhhhi don't want to use any other file!standalone exe that save anyone pass for him\her in itself.Why would you want to do that? Having an executable write to itself to keep track of database information is just silly. Further, you can't have an executable write to its own executable because it would have to be running and you can't modify executable files while they are running. This is a rule that should not be bypassed, not a limitation of autoit. "So man has sown the wind and reaped the world. Perhaps in the next few hours there will no remembrance of the past and no hope for the future that might have been." & _"All the works of man will be consumed in the great fire after which he was created." & _"And if there is a future for man, insensitive as he is, proud and defiant in his pursuit of power, let him resolve to live it lovingly, for he knows well how to do so." & _"Then he may say once more, 'Truly the light is sweet, and what a pleasant thing it is for the eyes to see the sun.'" - The Day the Earth Caught Fire Link to comment Share on other sites More sharing options...
Xenobiologist Posted October 18, 2006 Share Posted October 18, 2006 Hi, there is a little chance. I guess you can use 4 Byte for a password, but how often do you change it? Why not saving it hard in the exe an if necessary rebuild it? Or use external savings like ini or something. Another possibility is wrap your exe with another exe, this way it looks to the user as if it is only one file. May have a look at LoginWrapper in my sig, you can easily change it to this. So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
shaahin Posted October 18, 2006 Author Share Posted October 18, 2006 Thanks th.meger. I want to My Final user can Create Password and use it. If they can Rebuild exe file,it also good. and about 4 byte? what u mean? I just want to set password 1 time for each user. any Idea? Link to comment Share on other sites More sharing options...
The Kandie Man Posted October 18, 2006 Share Posted October 18, 2006 Thanks th.meger.I want to My Final user can Create Password and use it.If they can Rebuild exe file,it also good.and about 4 byte? what u mean?I just want to set password 1 time for each user.any Idea?A byte is equal to 8 bits. A text character is one byte, therefore what he means by a four byte password is that the password can be 4 characters long. I would recommend writing the password to a external .dat file, but encrypted so that nobody could understand what it was if they opened it. Even if you were to append the password to the end of the executable, you would probably still want to encrypt it. I would therefore recommend you use the _StringEncrypt() function. "So man has sown the wind and reaped the world. Perhaps in the next few hours there will no remembrance of the past and no hope for the future that might have been." & _"All the works of man will be consumed in the great fire after which he was created." & _"And if there is a future for man, insensitive as he is, proud and defiant in his pursuit of power, let him resolve to live it lovingly, for he knows well how to do so." & _"Then he may say once more, 'Truly the light is sweet, and what a pleasant thing it is for the eyes to see the sun.'" - The Day the Earth Caught Fire Link to comment Share on other sites More sharing options...
Richard Robertson Posted October 18, 2006 Share Posted October 18, 2006 You can write to an executing file. There have been some times that I have been able to do it but it is highly risky. Link to comment Share on other sites More sharing options...
NELyon Posted October 18, 2006 Share Posted October 18, 2006 You can make it into a text file, then set the file attribute to "h" (Hidden) Link to comment Share on other sites More sharing options...
shaahin Posted October 19, 2006 Author Share Posted October 19, 2006 Icekirby1 ! can u explain me how u can do that? Link to comment Share on other sites More sharing options...
shaahin Posted October 22, 2006 Author Share Posted October 22, 2006 i am waiting .... Link to comment Share on other sites More sharing options...
jaenster Posted October 22, 2006 Share Posted October 22, 2006 http://www.autoitscript.com/forum/index.ph...p;hl=crypt+tool -jaenster Link to comment Share on other sites More sharing options...
Golbez Posted October 23, 2006 Share Posted October 23, 2006 y cant u just write the users/password to an ini file.. and when they want 2 change it update the ini file? Link to comment Share on other sites More sharing options...
gamerman2360 Posted October 23, 2006 Share Posted October 23, 2006 (edited) If you don't like files you can alwas use Registry Keys, but most people don't like that. Also remember that no information that is stored/accessed with autoit is completly safe. (Edit: Including the source.) Edited October 23, 2006 by gamerman2360 Link to comment Share on other sites More sharing options...
shaahin Posted October 25, 2006 Author Share Posted October 25, 2006 OK > what can i do? Anybody know? Link to comment Share on other sites More sharing options...
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