From a4bde1157cbd2a3e98a96c12610550c232fa4d04 Mon Sep 17 00:00:00 2001 From: h00die Date: Mon, 28 Aug 2023 16:49:31 -0400 Subject: [PATCH] fix #18326 --- modules/auxiliary/scanner/ssl/ssl_version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/auxiliary/scanner/ssl/ssl_version.rb b/modules/auxiliary/scanner/ssl/ssl_version.rb index 1febec4bb8c5..06046c9bc12c 100644 --- a/modules/auxiliary/scanner/ssl/ssl_version.rb +++ b/modules/auxiliary/scanner/ssl/ssl_version.rb @@ -117,7 +117,7 @@ def get_metasploit_ssl_versions return Array.new(OpenSSL::SSL::SSLContext.new.ciphers.length) { |i| (OpenSSL::SSL::SSLContext.new.ciphers[i][1]).to_s }.uniq.reverse end - datastore['SSLVersion'] + [datastore['SSLVersion']] end def get_metasploit_ssl_cipher_suites(ssl_version)