0

Have a list of websites I would like to check the ciphers. We will be using SSL decryption and want to see if I can in advance check the sites that will not support our decipher. We have some identified in our pilot. Saw on openssl I can check a website using a command

echo -n | openssl s_client -connect securepubads.g.doubleclick.net:443 >>securepubads_g_doubleclick_net.txt

Created a bash script (completely new at it). Ran a list of 100 commands and all are ok. When I have them in a script one after the other it seems to run wild and the commands fail. Added a sleep 5 inbetween each command but stil fails. Any assistance appreciated.

2
  • Is this some kind of homework? Jun 10, 2015 at 19:18
  • no... work . want to see the ciphers of the highest hit sites and be able to exclude the ones that will not work with the decryption in advance.
    – brad
    Jun 10, 2015 at 20:23

1 Answer 1

0

Here is one sample script to loop the requests:

for i in `cat file_with_list`;
do
echo -n | openssl s_client -connect $i >>securepubads_g_doubleclick_net.txt 
done

Also you can check this answer for script to loop for all ciphers

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .