diff --git scripts/ssl-date.nse scripts/ssl-date.nse index 99dbac4..eff30b0 100644 --- scripts/ssl-date.nse +++ scripts/ssl-date.nse @@ -60,12 +60,12 @@ local client_hello = function(host, port) -- Version: TLS 1.0 cli_h = cli_h .. bin.pack(">S", 0x0301) -- Length, fixed - cli_h = cli_h .. bin.pack(">S", 0x0031) + cli_h = cli_h .. bin.pack(">S", 0x0033) -- Handshake protocol -- Handshake Type: Client Hello cli_h = cli_h .. bin.pack(">C", 0x01) -- Length, fixed - cli_h = cli_h .. bin.pack(">CS", 0x00, 0x002d) + cli_h = cli_h .. bin.pack(">CS", 0x00, 0x002f) -- Version: TLS 1.0 cli_h = cli_h .. bin.pack(">S", 0x0301) -- Random: epoch time @@ -75,8 +75,9 @@ local client_hello = function(host, port) -- Session ID length cli_h = cli_h .. bin.pack(">C", 0x00) -- Cipher Suites length - cli_h = cli_h .. bin.pack(">S", 0x0006) + cli_h = cli_h .. bin.pack(">S", 0x0008) -- Ciphers + cli_h = cli_h .. bin.pack(">S", 0x002f) cli_h = cli_h .. bin.pack(">S", 0xc011) cli_h = cli_h .. bin.pack(">S", 0x0039) cli_h = cli_h .. bin.pack(">S", 0x0004)