mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-13 17:46:53 -04:00
Starting to rejig it
This commit is contained in:
parent
3fa3c31e31
commit
9f3b185f77
40 changed files with 131 additions and 82 deletions
|
@ -7,6 +7,7 @@
|
|||
import Operation from "../Operation.mjs";
|
||||
import Utils from "../Utils.mjs";
|
||||
import unzip from "zlibjs/bin/unzip.min.js";
|
||||
import magicObject from "../lib/MagicObject.mjs";
|
||||
|
||||
const Zlib = unzip.Zlib;
|
||||
|
||||
|
@ -40,13 +41,13 @@ class Unzip extends Operation {
|
|||
value: false
|
||||
}
|
||||
];
|
||||
this.patterns = [
|
||||
this.checks = new magicObject([
|
||||
{
|
||||
match: "^\\x50\\x4b(?:\\x03|\\x05|\\x07)(?:\\x04|\\x06|\\x08)",
|
||||
flags: "",
|
||||
args: ["", false]
|
||||
},
|
||||
];
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue