Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support added to read user and password also from file #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gflorian
Copy link

Hi,
great script!

Since username and password had to be supplied via arguments to the script they showed up in command history, process lists and such. To increase security, options have been added to take these values from files instead.

Command line supplied values take precedence over values in files. So if e.g. username is supplied via --user and the new argument --userfile it will not take it from the file.
--userfile and --pwfile (and not --passfile) were used in order not to break --pass.

If you like it, feel free to pull.
Cheers!

Command line supplied values take precedence over file.
Used --userfile and --pwfile (and not --passfile) in order not to break --pass.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant