Skip to content

Commit f02b3f2

Browse files
authored
Merge pull request #1936 from c65722/parse_tls_record
Add Parse TLS record operation
2 parents e9b8163 + 1fcc365 commit f02b3f2

File tree

5 files changed

+2934
-0
lines changed

5 files changed

+2934
-0
lines changed

src/core/config/Categories.json

+1
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@
236236
"Parse IPv6 address",
237237
"Parse IPv4 header",
238238
"Parse TCP",
239+
"Parse TLS record",
239240
"Parse UDP",
240241
"Parse SSH Host Key",
241242
"Parse URI",

src/core/lib/Protocol.mjs

+3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ export function objToTable(obj, nested=false) {
2626
</tr>`;
2727

2828
for (const key in obj) {
29+
if (typeof obj[key] === "function")
30+
continue;
31+
2932
html += `<tr><td style='word-wrap: break-word'>${key}</td>`;
3033
if (typeof obj[key] === "object")
3134
html += `<td style='padding: 0'>${objToTable(obj[key], true)}</td>`;

0 commit comments

Comments
 (0)