2017-08-27 15:29:26 +02:00
|
|
|
/**
|
2017-08-29 19:46:34 +02:00
|
|
|
* MS tests.
|
2017-08-27 15:29:26 +02:00
|
|
|
*
|
2017-08-29 19:46:34 +02:00
|
|
|
* @author bwhitn [brian.m.whitney@outlook.com]
|
2017-08-27 15:29:26 +02:00
|
|
|
* @copyright Crown Copyright 2017
|
|
|
|
* @license Apache-2.0
|
|
|
|
*/
|
2018-05-17 17:34:00 +02:00
|
|
|
import TestRegister from "../../TestRegister";
|
2017-08-27 15:29:26 +02:00
|
|
|
|
|
|
|
TestRegister.addTests([
|
|
|
|
{
|
2017-08-29 19:46:34 +02:00
|
|
|
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);",
|
2017-08-27 15:29:26 +02:00
|
|
|
recipeConfig: [
|
|
|
|
{
|
2017-08-29 19:46:34 +02:00
|
|
|
"op": "Microsoft Script Decoder",
|
2017-08-27 15:29:26 +02:00
|
|
|
"args": []
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
]);
|