mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-24 08:46:19 -04:00
Changed the name. Small logic change. Changed from split join to regex replace.
This commit is contained in:
parent
aa5939c051
commit
0fc2a219a7
5 changed files with 26 additions and 21 deletions
22
test/tests/operations/MS.js
Normal file
22
test/tests/operations/MS.js
Normal file
|
@ -0,0 +1,22 @@
|
|||
/**
|
||||
* CharEnc tests.
|
||||
*
|
||||
* @author tlwr [toby@toby.codes]
|
||||
* @copyright Crown Copyright 2017
|
||||
* @license Apache-2.0
|
||||
*/
|
||||
import TestRegister from "../../TestRegister.js";
|
||||
|
||||
TestRegister.addTests([
|
||||
{
|
||||
name: "Micrsoft Script Decoder",
|
||||
input: "##@~^DgAAAA==\\ko$K6,JCV^GJqAQAAA==^#~@",
|
||||
expectedOutput: "MsgBox \"Hello\"",
|
||||
recipeConfig: [
|
||||
{
|
||||
"op": "Micrsoft Script Decoder",
|
||||
"args": []
|
||||
},
|
||||
],
|
||||
},
|
||||
]);
|
Loading…
Add table
Add a link
Reference in a new issue