├── FileEncrypterDecrypter.sh ├── PasswordGenerator.sh └── README.md /FileEncrypterDecrypter.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "This is a simple file encrypter/decrypter" 4 | echo "Please choose what you want to do" 5 | 6 | choice="Encrypt Decrypt" 7 | 8 | select option in $choice; do 9 | if [ $REPLY = 1 ]; 10 | then 11 | echo "Please enter the filename you want to encrypt" 12 | read file; 13 | gpg -c $file 14 | echo "The file has been encrypted" 15 | else 16 | echo "Please enter the filename you want to decrypt" 17 | read file2; 18 | gpg -d $file2 19 | echo "The file has been decrypted" 20 | fi 21 | 22 | done 23 | -------------------------------------------------------------------------------- /PasswordGenerator.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | #Simple Password Generator 4 | 5 | echo "This is a simple password generator" 6 | echo "Please enter the length of the password: " 7 | read PASS_LENGTH 8 | 9 | for p in $(seq 1 5); 10 | do 11 | openssl rand -base64 48 | cut -c1-$PASS_LENGTH 12 | 13 | done 14 | 15 | 16 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Shell-Scripts 2 | A Collection of Shell Scripts that i made 3 | --------------------------------------------------------------------------------