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