passget (python script)

about

This is a small command line tool.
It uses it when the password is necessary for the argument of the
command.
The password doesn't remain in the command history and the terminal.

system requirements

This is python script that needs /dev/tty.

example

$ wget --user user --password `passget` http://localhost/
$ firefox ftp://user:`passget`@localhost/
$ lftp -u user,`passget` localhost

$ passget --help
Usage: passget [options]

Options:
  -h, --help            show this help message and exit
  -p PROMPT, --prompt=PROMPT
  -n, --newline

download

passget-1.1.py