diff --git a/scripts/ssl-date.nse b/scripts/ssl-date.nse index ef515a658..b56d7bfbc 100644 --- a/scripts/ssl-date.nse +++ b/scripts/ssl-date.nse @@ -63,17 +63,7 @@ local client_hello = function(host, port) local sock, status, response, err, cli_h -- Craft Client Hello - cli_h = tls.client_hello({ - ["protocol"] = "TLSv1.0", - ["ciphers"] = { - "TLS_RSA_WITH_AES_128_CBC_SHA", - "TLS_RSA_WITH_3DES_EDE_CBC_SHA", - "TLS_ECDHE_RSA_WITH_RC4_128_SHA", - "TLS_DHE_RSA_WITH_AES_256_CBC_SHA", - "TLS_RSA_WITH_RC4_128_MD5", - }, - ["compressors"] = {"NULL"}, - }) + cli_h = tls.client_hello() -- Connect to the target server local specialized_function = sslcert.getPrepareTLSWithoutReconnect(port) diff --git a/scripts/tls-nextprotoneg.nse b/scripts/tls-nextprotoneg.nse index edb5ea891..4da4e74a1 100644 --- a/scripts/tls-nextprotoneg.nse +++ b/scripts/tls-nextprotoneg.nse @@ -52,15 +52,6 @@ local client_hello = function(host, port) local sock, status, response, err, cli_h cli_h = tls.client_hello({ - ["protocol"] = "TLSv1.0", - ["ciphers"] = { - "TLS_RSA_WITH_AES_128_CBC_SHA", - "TLS_RSA_WITH_3DES_EDE_CBC_SHA", - "TLS_ECDHE_RSA_WITH_RC4_128_SHA", - "TLS_DHE_RSA_WITH_AES_256_CBC_SHA", - "TLS_RSA_WITH_RC4_128_MD5", - }, - ["compressors"] = {"NULL"}, ["extensions"] = { ["next_protocol_negotiation"] = "", },