mirror of
https://github.com/mozilla/cipherscan.git
synced 2024-11-23 06:33:41 +01:00
make the output shorter in case the server supports all protocol types
This commit is contained in:
parent
17bc04f71d
commit
4ffa061977
@ -268,7 +268,11 @@ display_results_in_terminal() {
|
|||||||
ctr=$((ctr+1))
|
ctr=$((ctr+1))
|
||||||
fi
|
fi
|
||||||
if [ $different == "True" ]; then
|
if [ $different == "True" ]; then
|
||||||
|
if [[ $(awk '{print $3}' <<< $result) == "SSLv3,TLSv1,TLSv1.1,TLSv1.2" ]]; then
|
||||||
|
echo $result|grep -v '(NONE)' | awk '{print $1 " " $2 " " "SSLv3-TLSv1.2" " " $4 " " $5 " " $6 " " $7 " " $8 " " $9}'
|
||||||
|
else
|
||||||
echo $result|grep -v '(NONE)'
|
echo $result|grep -v '(NONE)'
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
# prints priority, ciphersuite, protocols and pfs_keysize
|
# prints priority, ciphersuite, protocols and pfs_keysize
|
||||||
echo $result|grep -v '(NONE)'|awk '{print $1 " " $2 " " $3 " " $9}'
|
echo $result|grep -v '(NONE)'|awk '{print $1 " " $2 " " $3 " " $9}'
|
||||||
|
Loading…
Reference in New Issue
Block a user