2
0
mirror of https://github.com/mozilla/cipherscan.git synced 2025-04-21 01:03:39 +02:00
This commit is contained in:
floatingatoll 2017-02-03 21:57:38 +00:00 committed by GitHub
commit e9eaaf3855

View File

@ -767,6 +767,10 @@ display_results_in_terminal() {
fi fi
echo "Target: $TARGET"; echo echo "Target: $TARGET"; echo
if [[ ${#cipherspref[*]} -lt 1 ]]; then
echo "No ciphers detected! Aborting."
exit 1
fi
for cipher in "${cipherspref[@]}"; do for cipher in "${cipherspref[@]}"; do
# get first in array # get first in array
pciph=($cipher) pciph=($cipher)