Created
August 25, 2018 03:30
-
-
Save jeovazero/14467d3e03bfbdcd5c25f438e46644ed to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/bash | |
if [ $# -lt 2 ] | |
then echo -e "Falta argumentos! \n Usage: $ $0 <input_file> <output_file>\n" | |
else | |
echo -e "Executando:\n$ openssl enc -d -aes-256-cbc -in $1 -out $2" | |
`openssl enc -d -aes-256-cbc -in $1 -out $2` | |
echo "Ok. Arquivo descriptografado." | |
fi | |
# jeotario |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment