This repository has been archived by the owner on May 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathexample-libinjection.sh
executable file
·65 lines (54 loc) · 2.56 KB
/
example-libinjection.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#!/bin/sh
#
# Sample to see how this works
#
export HOSTPORT=libinjection.client9.com:443
export URLPATH=/
source ./sslassert.sh
echo ""
sslassert "smoke-test = on"
sslassert "protocol-ssl-v2 = off"
sslassert "protocol-ssl-v3 = on"
sslassert "protocol-tls-v10 = on"
sslassert "protocol-tls-v11 = on"
sslassert "protocol-tls-v12 = on"
sslassert "protocol-tls12-suite-allowed-on-tls10 = off"
sslassert "compression = off"
sslassert "certificate-common-name = libinjection.client9.com"
sslassert "certificate-chain-length -gt 1"
sslassert "certificate-chain-self-signed = off"
sslassert "crypto-suite-count -eq 22"
sslassert "cipher-suite-ECDHE-RSA-AES128-GCM-SHA256 = on"
sslassert "cipher-suite-ECDHE-RSA-AES256-GCM-SHA384 = on"
sslassert "cipher-suite-DHE-RSA-AES128-GCM-SHA256 = on"
sslassert "cipher-suite-DHE-RSA-AES256-GCM-SHA384 = on"
sslassert "cipher-suite-ECDHE-RSA-AES128-SHA256 = on"
sslassert "cipher-suite-ECDHE-RSA-AES256-SHA384 = on"
sslassert "cipher-suite-DHE-RSA-AES128-SHA256 = on"
sslassert "cipher-suite-DHE-RSA-AES256-SHA256 = on"
sslassert "cipher-suite-ECDHE-RSA-RC4-SHA = on"
sslassert "cipher-suite-ECDHE-RSA-AES128-SHA = on"
sslassert "cipher-suite-ECDHE-RSA-AES256-SHA = on"
sslassert "cipher-suite-DHE-RSA-AES128-SHA = on"
sslassert "cipher-suite-DHE-RSA-AES256-SHA = on"
sslassert "cipher-suite-ECDHE-RSA-DES-CBC3-SHA = on"
sslassert "cipher-suite-AES128-GCM-SHA256 = on"
sslassert "cipher-suite-AES256-GCM-SHA384 = on"
sslassert "cipher-suite-AES128-SHA256 = on"
sslassert "cipher-suite-AES256-SHA256 = on"
sslassert "cipher-suite-RC4-SHA = on"
sslassert "cipher-suite-AES128-SHA = on"
sslassert "cipher-suite-AES256-SHA = on"
sslassert "cipher-suite-DES-CBC3-SHA = on"
sslassert "crypto-weak = off"
sslassert "crypto-null = off"
sslassert "crypto-adh = off"
sslassert "crypto-camellia = off"
sslassert "crypto-seed = off"
sslassert "crypto-idea = off"
sslassert "crypto-md5 = off"
sslassert "crypto-winxp-ie-compatible = on"
sslassert "beast-attack = off"
echo ""
#echo "$SSLFACTS"
exit $SSLASSERT_EXIT