logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

bin2pass - converts binary input to passwords

Author

       Written by Stefan Marsiske.

Description

       bin2pass  reads  standard  input,  and accepts three optional parameters (note this is the same syntax as
       accepted by sphinx(1)):

       • a combination of the letters “uld” enabling upper-, lower-case letters  and  digits  respectively.   If
         this is not provided bin2pass defaults to “uld”.

       • a  number  setting the maximum length of the password to be converted to.  Note if you specify a larger
         number than is possible to generate from the input the output will be padded by leading “A” characters.
         The default is the longest possible output depending on the input

       • a string listing all the symbols allowed in the password.  Any of the following is allowed (and this is
         also the default if not specified):

         | !"#$%&'()*+,-./:;<=>?@[\]^_`{}~

       Please note that  is allowed, and also be careful in quoting special characters that might be interpreted
       by your shell, such as ", !, \, etc...

Examples

       Generate the longest possible random password  from  /dev/random,  with  the  resulting  password  having
       characters from digits, lower- and upper-case letters and the  and * symbols.

              dd if=/dev/random bs=1 count=32 | ./pwdsphinx/bin2pass.py " *"

Name

       bin2pass - converts binary input to passwords

Reporting Bugs

       https://github.com/stef/pwdsphinx/issues/

See Also

sphinx(1)

                                                                                                     bin2pass(1)

Synopsis

              bin2pass [d|u|l] [<max size>] [<symbols>] <binary

See Also