File tree 1 file changed +37
-0
lines changed
1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ for i in ` cat $1 ` ; do
3
+ sslscan --no-color --no-failed --no-heartbleed --no-compression --no-renegotiation --no-fallback $i :443 > $i
4
+ done
5
+
6
+ echo " ------SSLv2------" >> $1 -report
7
+ grep -il " SSLv2" --exclude={sslscanator.sh,$1 -report} * >> $1 -report
8
+ echo " " >> $1 -report
9
+ echo " " >> $1 -report
10
+ echo " ------SSLv3------" >> $1 -report
11
+ grep -il " SSLv3" --exclude={sslscanator.sh,$1 -report} * >> $1 -report
12
+ echo " " >> $1 -report
13
+ echo " " >> $1 -report
14
+ echo " ------TLSv1.0------" >> $1 -report
15
+ grep -il " TLSv1.0" --exclude={sslscanator.sh,$1 -report} * >> $1 -report
16
+ echo " " >> $1 -report
17
+ echo " " >> $1 -report
18
+ echo " ------SWEET32------" >> $1 -report
19
+ grep -il " CBC3" --exclude={sslscanator.sh,$1 -report} * >> $1 -report
20
+ echo " " >> $1 -report
21
+ echo " " >> $1 -report
22
+ echo " ------RC4------" >> $1 -report
23
+ grep -il " RC4" --exclude={sslscanator.sh,$1 -report} * >> $1 -report
24
+ echo " " >> $1 -report
25
+ echo " " >> $1 -report
26
+ echo " ------POODLE------" >> $1 -report
27
+ grep -il " SSLv3" --exclude={sslscanator.sh,$1 -report} * >> $1 -report
28
+ echo " " >> $1 -report
29
+ echo " " >> $1 -report
30
+ echo " ------Short key length of cipher suites enabled (Less that 128 bits)------" >> $1 -report
31
+ grep -il -e " 56 bits" -e " 40 bits" --exclude={sslscanator.sh,$1 -report} * >> $1 -report
32
+ echo " " >> $1 -report
33
+ echo " " >> $1 -report
34
+ echo " ------Short key lenght of DHE cipher suites (Less than 2048 bits)------" >> $1 -report
35
+ grep -il " RSA Key Strength: 1024" --exclude={sslscanator.sh,$1 -report} * >> $1 -report
36
+ echo " " >> $1 -report
37
+ echo " " >> $1 -report
You can’t perform that action at this time.
0 commit comments