From 2fb331fc2d2bee6f1779122095d7cb02bf6d087a Mon Sep 17 00:00:00 2001 From: Niall Date: Wed, 25 Sep 2024 20:13:29 +0000 Subject: [PATCH] fxing unused import and string formatting --- src/core/operations/JA4FingerprintSummary.mjs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/operations/JA4FingerprintSummary.mjs b/src/core/operations/JA4FingerprintSummary.mjs index 28182f0a3..f7f2cfa97 100644 --- a/src/core/operations/JA4FingerprintSummary.mjs +++ b/src/core/operations/JA4FingerprintSummary.mjs @@ -5,7 +5,6 @@ */ import Operation from "../Operation.mjs"; -import Utils from "../Utils.mjs"; /** * JA4 Fingerprint Summary operation @@ -67,7 +66,7 @@ class JA4FingerprintSummary extends Operation { const sniMap = { d: "Yes (to domain)", i: "No (to IP)" }; retString += getProtocol(input); retString += getTLSVersion(input); - retString += `\nSNI Extension Present: ${sniMap[input[3]] || "Invalid symbol: " + input[3]}`; + retString += `\nSNI Extension Present: ${sniMap[input[3]] || input[3] + " (Invalid Symbol)"}`; retString += `\nNumber of Cipher Suites: ${input.slice(4, 6)}`; retString += `\nNumber of Extensions: ${input.slice(6, 8)}`; retString += getALPN(input, 8, 10);