bjoernautoit Posted September 4, 2008 Share Posted September 4, 2008 hi, I have got a problem I want to write a script to reboot a server. The problem is, I have to include an admin pw... what I have done yet: use the function _StringEncrypt to encrypt the pw but if somebody have my code he even has got the password to decrypt the string... so what is the way to lock the code? if I compile an exe everybody is allow to decompile it easily - is their a way to forbid this? Thanks a lot! Link to comment Share on other sites More sharing options...
Xenobiologist Posted September 4, 2008 Share Posted September 4, 2008 Hi, I guess there no more security Autoit can provide. Try the obfuscator, but that might not the thing you are looking for. 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...
jokke Posted September 4, 2008 Share Posted September 4, 2008 (edited) Store passwords innside a ini file. Dumb idea.As this was a server i guess it should not be a problem anyways as unwanted ppl should not have access to it. Edited September 4, 2008 by jokke UDF:Crypter a file encrypt / decrypt tool with no need to remember a password again. Based on Caesar cipher using entire ASCII Table.Script's: PixelSearch Helper, quick and simple way to create a PixelSeach.Chatserver - simplified, not so complicated multi-socket server.AutoIT - Firewall, simple example on howto create a firewall with AutoIt. Link to comment Share on other sites More sharing options...
Developers Jos Posted September 4, 2008 Developers Share Posted September 4, 2008 Maybe a simple question but why would you need the password stored in the script to reboot the server? How is this script started ? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
bjoernautoit Posted September 5, 2008 Author Share Posted September 5, 2008 the script is for the local administrators- they are not allowed to know the password for this server... with this script - the server can only be restart for one time- after the reboot a change in the configuration will be assumed a second reboot with the script is not possible because I query the server for the change... 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