mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 07:16:17 -04:00
ESM: Added portOperation.mjs script. Added To and From Hexdump operations.
This commit is contained in:
parent
a8aa1bc5e8
commit
1f877817f4
13 changed files with 7208 additions and 6713 deletions
|
@ -199,8 +199,13 @@ App.prototype.populateOperationsList = function() {
|
|||
cat = new HTMLCategory(catConf.name, selected);
|
||||
|
||||
for (let j = 0; j < catConf.ops.length; j++) {
|
||||
const opName = catConf.ops[j],
|
||||
op = new HTMLOperation(opName, this.operations[opName], this, this.manager);
|
||||
const opName = catConf.ops[j];
|
||||
if (!this.operations.hasOwnProperty(opName)) {
|
||||
log.warn(`${opName} could not be found.`);
|
||||
continue;
|
||||
}
|
||||
|
||||
const op = new HTMLOperation(opName, this.operations[opName], this, this.manager);
|
||||
cat.addOperation(op);
|
||||
}
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ import CanvasComponents from "../core/vendor/canvascomponents.js";
|
|||
|
||||
// CyberChef
|
||||
import App from "./App.js";
|
||||
import Categories from "../core/config/Categories.js";
|
||||
import Categories from "../core/config/Categories.json";
|
||||
import OperationConfig from "../core/config/OperationConfig.json";
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue