From 40945dc702341556b891aaf849ebd21aeb3d9be2 Mon Sep 17 00:00:00 2001 From: dmiller Date: Fri, 6 Mar 2015 19:59:57 +0000 Subject: [PATCH] Send SSLv3 as record version in ClientHello for compatibility --- nselib/tls.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nselib/tls.lua b/nselib/tls.lua index c7428fc41..4c796b613 100644 --- a/nselib/tls.lua +++ b/nselib/tls.lua @@ -1323,7 +1323,8 @@ function client_hello(t) table.insert(h, b) - return record_write("handshake", t["protocol"], table.concat(h)) + -- Record layer version should be SSLv3 (lowest compatible record version) + return record_write("handshake", "SSLv3", table.concat(h)) end local function read_atleast(s, n)