Created
October 15, 2014 15:57
-
-
Save chadfurman/5298b4c3c63b36412083 to your computer and use it in GitHub Desktop.
poodle checking bash script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ciphers=`nmap --script ssl-enum-ciphers -p 443 $1` | |
echo "$ciphers" | grep -q "SSLv3: No supported ciphers found" | |
if [ $? -eq 0 ];then | |
echo "Cipher not supported. No poodles."; | |
exit 1 # cipher not found | |
fi | |
echo "Cipher supported. Poodles."; | |
exit 0 # cipher found |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment