windows - Encrypted command line -


I have a situation where a group of administrators must give a command to run a command from the Windows Command Line Which has a password.

For example:

c: & gt; Mycommand-p mypassword

I have no alternative solution to avoid placing a password on this command line for this application. Just want to give them an encrypted string decree "mycommand-P mypassword" and execute that command with its parameters without displaying any encrypted text.

Say like this:

c: & gt; Mycommanddecoder efouhpefibhusdvn, iu3r3ksjdfdfbpisiegf

I have googled but the results do come with PGP command line utilities and kind

I could just write executable to a custom job but It can not stop a lover operator from seeing this object code. I could encrypt it internally but still there would be a visible key until I use a certificate ... and you get this idea

thanks,

Mark

Your problem is that in the end you have a script / program / command line system Call that the result in spawns mycommand as a parameter with the executable and this syscall May be untried. Whatever you already do, you will not get around this point of attack. You should probably look for a solution where password is never required to be stored on the computer, it may be outsourced to the service that runs on another location.

Comments

Popular posts from this blog

c# - passing input text from view to contoller with FacebookContext using Facebook app -

ios - Does Core Data autoupdate a many to many relationship on saving -

Calling a C++ function from C# by passing a string with variable size to it -