CyberChef/test/tests/operations/TextEncodingBruteForce.mjs

25 lines
613 B
JavaScript
Raw Normal View History

/**
* Text Encoding Brute Force tests.
*
* @author Cynser
*
* @copyright Crown Copyright 2018
* @license Apache-2.0
*/
import TestRegister from "../../TestRegister";
TestRegister.addTests([
{
name: "Text Encoding Brute Force",
input: "Булкі праз ляніва сабаку.",
2018-12-12 18:49:11 +01:00
expectedMatch: /Windows-1251 Cyrillic \(1251\): Булкі праз ляніва сабаку\./,
recipeConfig: [
{
op: "Text Encoding Brute Force",
args: [],
},
],
}
]);