2017-08-27 13:29:26 +00:00
|
|
|
|
/**
|
|
|
|
|
* CharEnc tests.
|
|
|
|
|
*
|
|
|
|
|
* @author tlwr [toby@toby.codes]
|
|
|
|
|
* @copyright Crown Copyright 2017
|
|
|
|
|
* @license Apache-2.0
|
|
|
|
|
*/
|
|
|
|
|
import TestRegister from "../../TestRegister.js";
|
|
|
|
|
|
|
|
|
|
TestRegister.addTests([
|
|
|
|
|
{
|
2017-08-28 21:55:54 +00:00
|
|
|
|
name: "Micrsoft Script Decoder",
|
2017-08-27 13:29:26 +00:00
|
|
|
|
input: "##@~^DgAAAA==\\ko$K6,JCV^GJqAQAAA==^#~@",
|
|
|
|
|
expectedOutput: "MsgBox \"Hello\"",
|
|
|
|
|
recipeConfig: [
|
|
|
|
|
{
|
2017-08-28 21:55:54 +00:00
|
|
|
|
"op": "Micrsoft Script Decoder",
|
2017-08-27 13:29:26 +00:00
|
|
|
|
"args": []
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
]);
|