mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 06:55:08 -04:00
fxing unused import and string formatting
This commit is contained in:
parent
4c7214ca13
commit
2fb331fc2d
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue