codekingpro/portable-devtools
114k
1meta:2 id: tls_client_hello3 xref:4 rfc: 5246 # TLS 1.25 wikidata: Q206494 # TLS6 license: MIT7 endian: be8 9seq:10 - id: version11 type: version12 13 - id: random14 type: random15 16 - id: session_id17 type: session_id18 19 - id: cipher_suites20 type: cipher_suites21 22 - id: compression_methods23 type: compression_methods24 25 - id: extensions26 type: extensions27 if: _io.eof == false28 29types:30 version:31 seq:32 - id: major33 type: u134 35 - id: minor36 type: u137 38 random:39 seq:40 - id: gmt_unix_time41 type: u442 43 - id: random44 size: 2845 46 session_id:47 seq:48 - id: len49 type: u150 51 - id: sid52 size: len53 54 cipher_suites:55 seq:56 - id: len57 type: u258 59 - id: cipher_suites60 type: u261 repeat: expr62 repeat-expr: len/263 64 compression_methods:65 seq:66 - id: len67 type: u168 69 - id: compression_methods70 size: len71 72 extensions:73 seq:74 - id: len75 type: u276 77 - id: extensions78 type: extension79 repeat: eos80 81 extension:82 seq:83 - id: type84 type: u285 86 - id: len87 type: u288 89 - id: body90 size: len91 type:92 switch-on: type93 cases:94 0: sni95 16: alpn96 97 sni:98 seq:99 - id: list_length100 type: u2101 102 - id: server_names103 type: server_name104 repeat: eos105 106 server_name:107 seq:108 - id: name_type109 type: u1110 111 - id: length112 type: u2113 114 - id: host_name115 size: length116 117 alpn:118 seq:119 - id: ext_len120 type: u2121 122 - id: alpn_protocols123 type: protocol124 repeat: eos125 126 protocol:127 seq:128 - id: strlen129 type: u1130 131 - id: name132 size: strlen133 