added support for multiple profile

This commit is contained in:
Shihaam Abdul Rahman
2021-05-12 06:35:36 +05:00
parent 0c4cb4cb07
commit 03a17feb6e
6 changed files with 18 additions and 114 deletions

View File

@ -0,0 +1 @@

View File

@ -0,0 +1,11 @@
read -p 'Username: ' BML_USERNAME
read -s -p 'Enter Pin: ' PIN
read -s -p 'Repeat Pin: ' REPEAT_PIN
if [ "$PIN" = "$REPEAT_PIN" ]
then
echo $BML_USERNAME | PASS=$(openssl aes-256-cbc -a -salt -pass pass:$PIN)
echo $PASS > bruh
else
echo "Pin do not match"
fi