'sslchecker' ändern

This commit is contained in:
Kaisa Marysia 2020-06-30 01:01:00 +02:00
parent 8a32d4f4eb
commit d5e841ea2f

View file

@ -86,8 +86,8 @@ ValidDate()
} }
Records() Records()
{ {
dig A $host +short dig A +short $host | tr '\n' '\t'; dig +short -x $(dig A +short $host) 2> /dev/null
dig AAAA $host +short dig AAAA +short $host | tr '\n' '\t'; dig +short -x $(dig AAAA +short $host) 2> /dev/null
} }
if [[ "$source" == "local" ]]; then if [[ "$source" == "local" ]]; then
if [ -z "$file" ]; then if [ -z "$file" ]; then
@ -107,7 +107,7 @@ echo -e '\e[90m\e[1m\e[101mValidated by:\e[0m'
RemoteCheck | Validation RemoteCheck | Validation
echo -e '\e[90m\e[1m\e[43mValidated from to:\e[0m' echo -e '\e[90m\e[1m\e[43mValidated from to:\e[0m'
RemoteCheck | ValidDate RemoteCheck | ValidDate
echo -e '\e[90m\e[1m\e[102mA and AAAA Records:\e[0m' echo -e '\e[90m\e[1m\e[102mIP and Reverse Lookups:\e[0m'
Records Records
fi fi
@ -117,7 +117,7 @@ if [ "$source" == "update" ]; then
fi fi
if [ "$source" == "version" ]; then if [ "$source" == "version" ]; then
echo "Version 2020-05-07" echo "Version 2020-06-30"
fi fi
if [ "$source" == "cipher" ]; then if [ "$source" == "cipher" ]; then