Openssl
openssl
#!/usr/bin/env bash
digests=$(openssl list -1 -digest-commands)
ciphers=$(openssl list -1 -cipher-commands)
for c in $ciphers; do
for m in $digests; do
echo "Trying $c with $m"
#openssl enc -md ${m} -d "${c}" -nosalt -in "$1" -pass 'pass:password'
#openssl enc -md ${m} -d "${c}" -in "$1" -pass 'pass:password'
#openssl enc -md ${m} -d "${c}" -pbkdf2 -in "$1" -pass 'pass:password'
#openssl enc -md ${m} -d "${c}" -nosalt -pbkdf2 -in "$1" -pass 'pass:password'
#openssl enc -md ${m} -d "${c}" -nopad -nosalt -in "$1" -k password
#openssl enc -md ${m} -d "${c}" -nopad -in "$1" -k password
#openssl enc -md ${m} -d "${c}" -nopad -pbkdf2 -in "$1" -k password
#openssl enc -md ${m} -d "${c}" -nopad -nosalt -pbkdf2 -in "$1" -k password
done
done