Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save forestbaker/eafb82d907aabe3369dd to your computer and use it in GitHub Desktop.
Save forestbaker/eafb82d907aabe3369dd to your computer and use it in GitHub Desktop.
poodle checking bash script
#!/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