mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-15 18:46:56 -04:00
Merge branch 'master' into linuxgemini-patch-modhex
This commit is contained in:
commit
eb912547ac
60 changed files with 12005 additions and 3586 deletions
|
@ -44,7 +44,7 @@ export function toJA4(bytes) {
|
|||
the TLS version is the value of the Protocol Version. Handshake version (located at the top of the packet)
|
||||
should be ignored.
|
||||
*/
|
||||
let version = tlsr.version.value;
|
||||
let version = tlsr.handshake.value.helloVersion.value;
|
||||
for (const ext of tlsr.handshake.value.extensions.value) {
|
||||
if (ext.type.value === "supported_versions") {
|
||||
version = parseHighestSupportedVersion(ext.value.data);
|
||||
|
@ -189,7 +189,7 @@ export function toJA4S(bytes) {
|
|||
the TLS version is the value of the Protocol Version. Handshake version (located at the top of the packet)
|
||||
should be ignored.
|
||||
*/
|
||||
let version = tlsr.version.value;
|
||||
let version = tlsr.handshake.value.helloVersion.value;
|
||||
for (const ext of tlsr.handshake.value.extensions.value) {
|
||||
if (ext.type.value === "supported_versions") {
|
||||
version = parseHighestSupportedVersion(ext.value.data);
|
||||
|
|
|
@ -26,6 +26,9 @@ export function objToTable(obj, nested=false) {
|
|||
</tr>`;
|
||||
|
||||
for (const key in obj) {
|
||||
if (typeof obj[key] === "function")
|
||||
continue;
|
||||
|
||||
html += `<tr><td style='word-wrap: break-word'>${key}</td>`;
|
||||
if (typeof obj[key] === "object")
|
||||
html += `<td style='padding: 0'>${objToTable(obj[key], true)}</td>`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue