Sign in to follow this  
Followers 0

autoIT and passwords

5 posts in this topic


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!

Share this post

Link to post
Share on other sites


I guess there no more security Autoit can provide. Try the obfuscator, but that might not the thing you are looking for.


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

Share this post

Link to post
Share on other sites

#3 ·  Posted (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 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.

Share this post

Link to post
Share on other sites

Maybe a simple question but why would you need the password stored in the script to reboot the server?

How is this script started ?


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
Live for the present,
Dream of the future,
Learn from the past.

Share this post

Link to post
Share on other sites

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...

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