Password Generator in Bash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
|# Simple password generator|
|echo "This is a simple password generator"|
|echo "Please enter the length of the password"|
|echo "Please enter number of passwords to be generated"|
|echo "Enter website for which password is to be generated"|
|for p in $(seq 1 $NO_OF_PASS); do|
|temp=`openssl rand -base64 48 | cut -c1-$PASS_LENGTH`|
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
It generates passwords according to the user password length, and number of passwords to be generated.
It also stores those passwords in the specified website text file.