mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-24 16:56:15 -04:00
Fixed spelling errors, syntax errors, and improved the test for script decoding
This commit is contained in:
parent
0fc2a219a7
commit
934ed1af09
4 changed files with 22 additions and 18 deletions
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* CharEnc tests.
|
||||
* MS tests.
|
||||
*
|
||||
* @author tlwr [toby@toby.codes]
|
||||
* @author bwhitn [brian.m.whitney@outlook.com]
|
||||
* @copyright Crown Copyright 2017
|
||||
* @license Apache-2.0
|
||||
*/
|
||||
|
@ -9,12 +9,12 @@ import TestRegister from "../../TestRegister.js";
|
|||
|
||||
TestRegister.addTests([
|
||||
{
|
||||
name: "Micrsoft Script Decoder",
|
||||
input: "##@~^DgAAAA==\\ko$K6,JCV^GJqAQAAA==^#~@",
|
||||
expectedOutput: "MsgBox \"Hello\"",
|
||||
name: "Microsoft Script Decoder",
|
||||
input: "#@~^RQAAAA==-mD~sX|:/TP{~J:+dYbxL~@!F@*@!+@*@!&@*eEI@#@&@#@&\x7fjm.raY 214Wv:zms/obI0xEAAA==^#~@",
|
||||
expectedOutput: "var my_msg = \"Testing <1><2><3>!\";\r\n\r\nWScript.Echo(my_msg);",
|
||||
recipeConfig: [
|
||||
{
|
||||
"op": "Micrsoft Script Decoder",
|
||||
"op": "Microsoft Script Decoder",
|
||||
"args": []
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue