mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-14 10:06:58 -04:00
Converted MagicObject to just dictionaries
This commit is contained in:
parent
c8b474eef4
commit
1bbcc8d542
44 changed files with 879 additions and 890 deletions
|
@ -6,7 +6,6 @@
|
|||
|
||||
import Operation from "../Operation.mjs";
|
||||
import OperationError from "../errors/OperationError.mjs";
|
||||
import magicObject from "../lib/MagicObject.mjs";
|
||||
import cptable from "codepage";
|
||||
|
||||
/**
|
||||
|
@ -27,14 +26,16 @@ class CitrixCTX1Decode extends Operation {
|
|||
this.inputType = "ArrayBuffer";
|
||||
this.outputType = "string";
|
||||
this.args = [];
|
||||
this.checks = new magicObject([
|
||||
{
|
||||
match: "([A-Z]{4}){10,}",
|
||||
flags: "",
|
||||
magic: true,
|
||||
args: []
|
||||
}
|
||||
]);
|
||||
this.checks =
|
||||
{
|
||||
inRegexes: [
|
||||
{
|
||||
match: "([A-Z]{4}){10,}",
|
||||
flags: "",
|
||||
magic: true,
|
||||
args: []
|
||||
}]
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue