From 9ec19a193361cbfa4032459262430c641c999dbb Mon Sep 17 00:00:00 2001 From: Jay Shepherd Date: Sun, 6 Oct 2019 14:34:42 -0600 Subject: [PATCH] Remove TLSv1.0 as acceptable --- .gitignore | 1 + functions/connection.php | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index a72733a3..f36e89af 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ results/* .htaccess +.idea \ No newline at end of file diff --git a/functions/connection.php b/functions/connection.php index a8342237..68968754 100644 --- a/functions/connection.php +++ b/functions/connection.php @@ -608,7 +608,7 @@ function ssl_conn_metadata($data,$fastcheck=0) { } else if ( $key == "tlsv1.1") { echo '

- TLSv1.1 (Supported)

'; } else if ( $key == "tlsv1.0") { - echo '

- TLSv1.0 (Supported)

'; + echo '

- TLSv1.0 (Supported) '; } else if ( $key == "sslv3") { echo '

- SSLv3 (Supported) '; echo "

"; @@ -625,7 +625,7 @@ function ssl_conn_metadata($data,$fastcheck=0) { } else if ( $key == "tlsv1.1") { echo '

- TLSv1.1 (Not supported)

'; } else if ( $key == "tlsv1.0") { - echo '

- TLSv1.0 (Not supported)

'; + echo '

- TLSv1.0 (Not supported)

'; } else if ( $key == "sslv3") { echo '

- SSLv3 (Not supported)

'; } else if ( $key == "sslv2") { @@ -1004,6 +1004,9 @@ function ssl_conn_metadata_json($host, $ip, $port, $read_stream, $chain_data=nul if ( $key == "sslv3") { $result["warning"][] = 'SSLv3 supported. Please disable and upgrade to a newer protocol like TLSv1.2.'; } + if ( $key == "tlsv1.0") { + $result["warning"][] = 'TLSv1.0 supported. Please disable and upgrade to a newer protocol like TLSv1.2.'; + } } else { if ( $key == "tlsv1.2") { $result["warning"][] = 'TLSv1.2 unsupported. Please enable TLSv1.2.';