Jump to content

autoIT and passwords


Recommended Posts

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

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

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

  • Developers

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

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

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