'sslchecker' ändern
This commit is contained in:
parent
61893db6b5
commit
fee24e5554
1 changed files with 5 additions and 7 deletions
12
sslchecker
12
sslchecker
|
|
@ -86,16 +86,14 @@ ValidDate()
|
||||||
}
|
}
|
||||||
Records()
|
Records()
|
||||||
{
|
{
|
||||||
Records()
|
ipv4s=`dig +short A $host`
|
||||||
{
|
ipv6s=`dig +short AAAA $host`
|
||||||
IP4LIST=`dig +short A $host`
|
|
||||||
IP6LIST=`dig +short AAAA $host`
|
|
||||||
|
|
||||||
for ipv4 in $IP4LIST; do
|
for ipv4 in $ipv4s; do
|
||||||
echo -e "A: \t ${ipv4} \t PTR: `dig +short -x ${ipv4}`"
|
echo -e "A: \t ${ipv4} \t PTR: `dig +short -x ${ipv4}`"
|
||||||
done;
|
done;
|
||||||
|
|
||||||
for ipv6 in $IP6LIST; do
|
for ipv6 in $ipv6s; do
|
||||||
echo -e "AAAA: \t ${ipv6} \t PTR: `dig +short -x ${ipv6}`"
|
echo -e "AAAA: \t ${ipv6} \t PTR: `dig +short -x ${ipv6}`"
|
||||||
done;
|
done;
|
||||||
}
|
}
|
||||||
|
|
@ -127,7 +125,7 @@ if [ "$source" == "update" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$source" == "version" ]; then
|
if [ "$source" == "version" ]; then
|
||||||
echo "Version 2020-06-30"
|
echo "Version 2021-09-28"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$source" == "cipher" ]; then
|
if [ "$source" == "cipher" ]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue