From ccaabfaee8ddf618badc243cb088c27f52b97f71 Mon Sep 17 00:00:00 2001 From: n1474335 Date: Thu, 14 Apr 2022 11:55:34 +0100 Subject: [PATCH] Fixed incorrect wording for RC4 Drop argument. --- src/core/operations/RC4Drop.mjs | 4 ++-- tests/node/tests/operations.mjs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/operations/RC4Drop.mjs b/src/core/operations/RC4Drop.mjs index 3d87f4cb..c6bb536a 100644 --- a/src/core/operations/RC4Drop.mjs +++ b/src/core/operations/RC4Drop.mjs @@ -43,9 +43,9 @@ class RC4Drop extends Operation { "value": ["Latin1", "UTF8", "UTF16", "UTF16LE", "UTF16BE", "Hex", "Base64"] }, { - "name": "Number of bytes to drop", + "name": "Number of dwords to drop", "type": "number", - "value": 768 + "value": 192 } ]; } diff --git a/tests/node/tests/operations.mjs b/tests/node/tests/operations.mjs index 3f5631bd..305debfb 100644 --- a/tests/node/tests/operations.mjs +++ b/tests/node/tests/operations.mjs @@ -816,7 +816,7 @@ pCGTErs= it("RC4 Drop", () => { assert.strictEqual( chef.RC4Drop("Go Out On a Limb", {passphrase: {string: "Under Your Nose", option: "UTF8"}, inputFormat: "UTF8", outputFormat: "Hex"}).toString(), - "8fa5f2751d34476a0c857439f43816cf"); + "b85cb1c4ed6bed8f260ab92829bba942"); }), it("Regular Expression", () => {